[jdk20] Integrated: 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
Tue Dec 20 13:24:53 UTC 2022


On Mon, 19 Dec 2022 19:01:23 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.
> 
> Retesting with tier1-4 in progress.

This pull request has now been integrated.

Changeset: 03d99272
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk20/commit/03d992728e27bd3dcd00d1af8a7b7179281e626f
Stats:     5 lines in 1 file changed: 2 ins; 0 del; 3 mod

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

Reviewed-by: iklam, dholmes

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

PR: https://git.openjdk.org/jdk20/pull/58


More information about the hotspot-runtime-dev mailing list