RFR (S) 7060111 : race condition in VMError::report_and_die()
frederic.parain at oracle.com
Thu Jun 27 07:10:53 PDT 2013
On 27/06/2013 14:45, Zhengyu Gu wrote:
> Looks good to me.
> On Jun 27, 2013, at 8:30 AM, frederic parain wrote:
>> Please review this small fix:
>> Bug: 7060111 : race condition in VMError::report_and_die()
>> The bug is well described in its report. This fix uses
>> class static fields initialized at library load time
>> instead of static local variables lazily initialized.
>> The race condition is so tricky (2 threads must invoke
>> VMError::report_and_die() almost at the same time), that I
>> didn't try to produce a unit test for it. But the fix is
>> so simple that it doesn't look risky.
>> Frederic Parain - Oracle
>> Grenoble Engineering Center - France
>> Phone: +33 4 76 18 81 17
>> Email: Frederic.Parain at oracle.com
Frederic Parain - Oracle
Grenoble Engineering Center - France
Phone: +33 4 76 18 81 17
Email: Frederic.Parain at oracle.com
More information about the hotspot-runtime-dev