RFR (S): 8024943: ciReplay: fails to dump replay data during safepointing
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Wed Oct 2 13:15:11 PDT 2013
http://cr.openjdk.java.net/~vlivanov/8024943/webrev.00/
15 lines changed: 11 ins; 0 del; 4 mod
In some situations VM fails to dump compiler replay file (produces empty
replay_pid%p.log). The reason is that ciEnv::dump_replay_data tries to
do thread state transition to VM unconditionally and acquire
Compile_lock. It doesn't always work in context of VM error reporter.
The fix is to provide new method specifically for VM error reporter
(ciEnv::dump_replay_data_unsafe) which doesn't perform aforementioned
actions.
Testing: manual (checked that a valid dump is produced for a crash
during safepointing).
Thanks!
Best regards,
Vladimir Ivanov
More information about the hotspot-compiler-dev
mailing list