Is it possible to prevent HotSpot from quitting...
Andrew Haley
aph at redhat.com
Mon Jun 20 17:52:33 UTC 2016
On 18/06/16 03:24, Vladimir Kozlov wrote:
> I suggest to use Compilation Replay assuming you are trying o reproduce load/store nodes reordering.
>
> You can specify -XX:CompileCommand=option,<top_compiled_method_with_path>,DumpReplay
> which will produce several replay_<pid>.log per each compilation. Select one in which compiled code has wrong order and
> replay it with fastdebug VM (with the same other options):
>
> -XX:+ReplayCompiles -XX:ReplayDataFile=replay_pid2133.log
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...
Andrew.
More information about the hotspot-compiler-dev
mailing list