Serviceability Agent support in JDK9

Dmitry Samersoff dmitry.samersoff at oracle.com
Wed Jan 21 08:16:40 UTC 2015


Andrew,

You are correct. ClassWriter is missed couple of new classfile futures.

Please, see

https://bugs.openjdk.java.net/browse/JDK-8015848


-Dmitry

On 2015-01-20 22:09, Andrew Haley wrote:
> I'm having trouble with compiler replay data in JDK 9:
> 
>  $ ./build/linux-aarch64-normal-server-slowdebug/jdk/bin/java -Xbootclasspath/p:boot.jar -cp app.jar -XX:ReplayDataFile=replay.foo -XX:+ReplayCompiles
> Error occurred during initialization of VM
> java/lang/ClassFormatError: Missing BootstrapMethods attribute in class file java/lang/CharSequence
> 
> I guess this is because sun.jvm.hotspot.tools.jcore.ClassWriter doesn't
> handle the BootstrapMethods attribute.  Is that right?  It would be nice
> to have this working.
> 
> Andrew.
> 


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the hotspot-dev mailing list