Hi,
please review this patch, it allows to export to Java the host_class used
to create the anonymous class.
cheers,
Rémi
diff --git a/src/share/vm/oops/instanceKlass.hpp b/src/share/vm/oops/instanceKlass.hpp
--- a/src/share/vm/oops/instanceKlass.hpp
+++ b/src/share/vm/oops/instanceKlass.hpp
@@
Charles Oliver Nutter a écrit :
> I've managed to wire the AnonymousClassLoader into JRuby. A patch is
> attached, that will probably be rather confusing to anyone unfamiliar
> with JRuby.
>
> ClassCache is basically a smart class-loading utility that can be used
> to share loaded classes across
Another thought occurs about how/where this would be useful. Consider it
a "duh" moment for me, given that much of this work is being driven by
JSR292...
ACL will be incredibly useful for generating inexpensive method handles.
Duh.
So you have a template that represents the general way in whic
Ok, reading back over some notes and anonk.txt I think I understand a
bit better. Tell me if I'm understanding things right.
java.dyn.AnonymousClassLoader is not a java.lang.ClassLoader itself. It
bypasses the normal classloading chain by calling the new Unsafe method
that allocates and loads a
I've managed to wire the AnonymousClassLoader into JRuby. A patch is
attached, that will probably be rather confusing to anyone unfamiliar
with JRuby.
ClassCache is basically a smart class-loading utility that can be used
to share loaded classes across JRuby instances without keeping hard
ref