RFR (XS): 6985422: flush the output streams before OnError commands
vladimir.kozlov at oracle.com
Tue Jan 12 19:13:35 UTC 2016
On 1/12/16 10:41 AM, Vladimir Ivanov wrote:
> OnError commands are executed before hotspot log is finished.
> The fix is to finish the log before executing OnError commands.
> Also, I moved compilation replay data dumping logic before OnError processing, so compilation replay file is accessible
> from OnError commands as well.
> I verified the fix by triggering VM crash w/ -XX:+LogCompilation -XX:LogFile=hotspot.log -XX:OnError='cp hotspot.log
> hs.log' flags and checking that hs.log is complete. Without the fix the log is corrupted.
> Testing: manual, JPRT.
> Best regards,
> Vladimir Ivanov
More information about the hotspot-compiler-dev