Is it possible to prevent HotSpot from quitting...

Vladimir Kozlov vladimir.kozlov at
Sat Jun 18 02:24:15 UTC 2016

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


On 6/17/16 7:51 AM, Andrew Haley wrote:
> On 17/06/16 15:44, Tobias Hartmann wrote:
>> what about -Xbatch?
> OK, I'll see if that works for me, but this thing is super-timing-
> critical and goes away if I change anything!
> Thanks,
> Andrew.

More information about the hotspot-compiler-dev mailing list