RFR: 8156500: deadlock provoked by new stress test com/sun/jdi/OomDebugTest.java
Kim Barrett
kim.barrett at oracle.com
Wed Aug 3 18:21:17 UTC 2016
> On Aug 3, 2016, at 3:41 AM, David Holmes <david.holmes at oracle.com> wrote:
>
> On 2/08/2016 4:46 AM, Kim Barrett wrote:
>> This updated webrev addresses the concerns around initialization order
>> for Throwable and OutOfMemoryError. It doesn't address the VM API
>> used by the reference processor thread; that will be in a later
>> webrev.
>>
>> New webrevs:
>> full: http://cr.openjdk.java.net/~kbarrett/8156500/hotspot.02/
>> incr: http://cr.openjdk.java.net/~kbarrett/8156500/hotspot.02.incr/
>>
>> The jdk tree is unchanged from webrev.01.
>>
>> I've backed out the change to initialize_java_lang_classes. (To
>> verify this, look at the runtime/thread.cpp in the full webrev.)
>>
>> Instead, Universe::gen_out_of_memory_error now also requires Throwable
>> to be initialized before it will attempt to fill in the stack trace.
>> This means that VM generated OOMEs occurring early in initialization
>> won't have a stack trace.
>
> This change looks good to me.
Thanks!
More information about the hotspot-dev
mailing list