extending the constant pool continued
Tim Bell
Tim.Bell at Sun.COM
Thu Jun 21 11:40:47 PDT 2007
Hi Patrick:
> modify bytecode and the constant pool.
That sounds vaguely similar to what Java Virtual Machine Tool Interface (JVM TI)
calls Retransform or Redefine Class:
http://java.sun.com/javase/6/docs/platform/jvmti/jvmti.html#RetransformClasses
http://java.sun.com/javase/6/docs/platform/jvmti/jvmti.html#RedefineClasses
There is code in JVM TI to change method bodies, the constant pool and attributes.
Have you looked at that?
HTH - Tim
More information about the hotspot-dev
mailing list