[jdk20] 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 19:08:29 UTC 2022
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.
-------------
Commit messages:
- 8298061: vmTestbase/nsk/sysdict/vm/stress/btree/btree012/btree012.java failed with "fatal error: refcount has gone to zero"
Changes: https://git.openjdk.org/jdk20/pull/58/files
Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=58&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8298061
Stats: 12 lines in 2 files changed: 3 ins; 3 del; 6 mod
Patch: https://git.openjdk.org/jdk20/pull/58.diff
Fetch: git fetch https://git.openjdk.org/jdk20 pull/58/head:pull/58
PR: https://git.openjdk.org/jdk20/pull/58
More information about the hotspot-runtime-dev
mailing list