Is it possible to prevent HotSpot from quitting...

Roland Westrelin rwestrel at redhat.com
Tue Jun 21 11:53:22 UTC 2016


> I have never had much success with ReplayCompiles, but I'm trying again:
> 
> ------------------------------------------------------------------------------
>  $ java -XX:+ReplayCompiles -XX:ReplayDataFile=replay_pid0x8239_compid4125.log
> Error while parsing line 726: constant pool length mismatch: wrong class files?
> 
> Failed on constant pool length mismatch: wrong class files?
> ------------------------------------------------------------------------------
> 
> And Line 726 is the first ciInstanceKlass:
> 
> ciInstanceKlass java/lang/Object 1 1 78 100 10 10 10 10 8 10 10 10 100 8 10 3 8 10 10 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 100 1 1 1 1 1 1 100 1 1 100 1 1 1 1 12 12 100 12 12 1 12 100 12 12 1 1 12 1 12 12 1 1 1 1 1 1 1 1 1 1 1 1
> ciInstanceKlass java/io/Serializable 1 0 7 100 100 1 1 1 1
> 
> I guess I need to debug ReplayCompiles now...

This usually happens when the jdk that created the replay file and the
jdk that runs the replay file were not built from the exact same sources.

Roland.


More information about the hotspot-compiler-dev mailing list