RFR (S) 8218266: G1 crash in AccessInternal::PostRuntimeDispatch

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Mon Feb 25 20:04:27 UTC 2019



On 2/25/19 2:48 PM, zgu at redhat.com wrote:
> Hi Coleen,
>
> On Mon, 2019-02-25 at 13:44 -0500, coleen.phillimore at oracle.com wrote:
>> Summary: protection_domains can be unloaded in the dictionary pd_set.
>>
>> Tested with test here:
>> test/hotspot/jtreg/runtime/Dictionary/ProtectionDomainCacheTest.java
>> and
>> the test in the bug.  Also tested hs-tier1-3.
>>
>> open webrev at http://cr.openjdk.java.net/~coleenp/2019/8218266.01/we
>> brev
>> bug link https://bugs.openjdk.java.net/browse/JDK-8218266
> The fix looks good. But I feel a bit odd to place cleaning CLD's cached
> pd inside ProtectionDomainCacheTable.
>
> Would it be better to have ServiceThread calls e.g.
> SystemDictionary::clean_pd_cache(), and the method to cleanup CLD's
> cache pd and call ProtectionDomainCacheTable::unlink()?

You mean reverse these?  The trigger on the service thread is something 
inside the protection domain cache table though.

Coleen
>
> Thanks,
>
> -Zhengyu
>
>> Thanks,
>> Coleen



More information about the hotspot-runtime-dev mailing list