[armedbear-devel] Some thoughts on classloaders, inner classes and in-memory compilation
evenson at panix.com
Tue Sep 22 19:13:05 UTC 2009
On 9/22/09 4:52 PM, Alessio Stalla wrote:
> I think that, as a personal experiment, I'll start changing the
> implementation of LOAD-COMPILED-FUNCTION to just do something like
> (pseudocode) new
> 'sys::*compiler-classloader-class*'().loadClass("dir-1.cls"), move the
> current loadCompiledFunction to, say,
> AbclSystemFileClassLoader.findClass(), and change the compiler to stop
> emitting loadCompiledFunction calls and refer to the class directly
> instead. That should preserve the current behavior yet demonstrate my
> solution. If it turns out to be working and actually simplifying
> things, I will report back and, as a next step, go on and try to add
> the ability to work in memory.
Great! I think experimentation with the codebase is a great way to
proceed, but hopefully you aren't deterred from posting your musings
here. I, for one, really appreciate both!
"A screaming comes across the sky. It has happened before, but there
is nothing to compare to it now."
More information about the armedbear-devel