crazy idea: gcj as a caching jit?

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sat Feb 2 15:59:00 GMT 2002


Adam Megacz wrote:
>Had an idea today...
>>With Bryce's indirect-invoke patches, you can actually use gcj as a
>caching JIT (like Microsoft's .NOT) -- hack interpret.cc to pass the
>bytecodes through gcj, produce com.yourdomain.yourclass.so, dlopen()
>it, and cache the .so it somewhere with an md5 of the original .class
>file (to detect if newer versions of the class have arrived and need
>to be recompiled).
>
Yes, a few people have proposed something like this in the past. You 
could probibly do this just by writing a special classloader, no need to 
hack interpret.cc. I think its a bit too hackish myself ;-)
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /