RFR (XS): 6985422: flush the output streams before OnError commands
vladimir.x.ivanov at oracle.com
Thu Jan 14 17:59:10 UTC 2016
Thank you, Vladimir.
On 1/12/16 10:13 PM, Vladimir Kozlov wrote:
> Looks good.
> Vladimir K
> 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