Choice of named vs anon classes as dynamic method holders

Mark Roos mroos at roos.com
Thu Jan 27 11:55:28 PST 2011


Getting closer to running Smallalk on Java.  We are at the point of 
importing the
ST methods into the java side to use with invokeDynamic.

We are planning on one java class per ST method ( and its blocks ) and so 
would
have about 45000 classes.  During a typical development session about 1% 
of the
classes would be added or replaced.  We were thinking of doing the class 
creation on
demand (during bootstrap) but could do it all at once as well.

We could use normal classes with one class loader per class, one global 
class loader and
some naming convention,  or John's anonymous class loader (using unsafe).

Any suggestions?

thanks
mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110127/dde349aa/attachment.html 


More information about the mlvm-dev mailing list