RFR: 8298061: vmTestbase/nsk/sysdict/vm/stress/btree/btree012/btree012.java failed with "fatal error: refcount has gone to zero"

Coleen Phillimore coleenp at openjdk.org
Mon Dec 19 18:54:53 UTC 2022


On Mon, 19 Dec 2022 15:48:13 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Please review this limited fix to make symbol refcount not go to zero for the placeholder supername field.  This supername field is to detect ClassCircularityError for parallel capable class loaders without deadlocking.
> ie. t1 : Class A (lock object for A) -> super B (wait for lock object for B)
>      t2: Class B (lock object for B) -> super A (wait for lock object for A).
> 
> We get the supername field out of the placeholder table to do the check for super class CCE but the reference count  in the placeholder table for this name can be one.  The fix is not to decrement and increment if the name is the same.
> 
> Tested with tier1-4.

This was supposed to be relative to the JDK 20 repository.

-------------

PR: https://git.openjdk.org/jdk/pull/11726


More information about the hotspot-runtime-dev mailing list