RFR (S) 8218266: G1 crash in AccessInternal::PostRuntimeDispatch
zgu at redhat.com
zgu at redhat.com
Mon Feb 25 19:48:17 UTC 2019
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()?
Thanks,
-Zhengyu
>
> Thanks,
> Coleen
More information about the hotspot-runtime-dev
mailing list