RFR: 8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking

Erik Helin erik.helin at oracle.com
Mon Feb 20 14:06:35 UTC 2017


On 02/16/2017 07:51 PM, Kim Barrett wrote:
> src/share/vm/classfile/classLoaderData.hpp
>  179     // Only one thread can add a time, guarded by the Metaspace_lock.
> 
> Only one thread at a time time can add?

Yes. See ClassLoaderData::add_handle, all the threads synchronize using
ClassLoaderData::metaspace_lock().

Thanks,
Erik

>> On Feb 16, 2017, at 9:13 AM, Erik Helin <erik.helin at oracle.com> wrote:
>>
>> On 02/15/2017 10:08 PM, coleen.phillimore at oracle.com wrote:
>>> Hi Erik,
>>
>> Hey Coleen, thanks for reviewing! Please see new webrevs at:
>> - incremental: http://cr.openjdk.java.net/~ehelin/8168914/01-02/
>> - full: http://cr.openjdk.java.net/~ehelin/8168914/02/
>>
> 


More information about the hotspot-dev mailing list