Bytecode re-writing

Nagy Mostafa nagy.mostafa at
Sun Aug 22 12:30:59 PDT 2010

I was wondering if there is a way to do bytecode re-writing right before
compilation in the C2 compiler. I would like to do this inside the VM and
not through a JVMTI event as I need access to VM internal data. Is there a
simple way to do that (e.g. through some C/C++ library) ? Would it be
simpler to do it at the IR level instead ? The transformation involves
injecting some code into the stream so it seems simpler to do it at the
bytecode-level. Any suggestions ?

- nagy
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the hotspot-dev mailing list