RFR: 8338693: assert(Atomic::add(&ik->_shared_class_load_count, 1) == 1) failed: shared class loaded more than once
Matias Saavedra Silva
matsaave at openjdk.org
Thu Sep 12 14:11:15 UTC 2024
The test vmTestbase/nsk/sysdict/vm/stress/chain/chain007/chain007.java occasionally fails due to the number of shared classes being incremented even though the shared class is not loaded. This patch moves the assert to only increment once loading is possible.
-------------
Commit messages:
- Merge branch 'master' into shared_load_count_8338693
- 8338693: assert(Atomic::add(&ik->_shared_class_load_count, 1) == 1) failed: shared class loaded more than once
Changes: https://git.openjdk.org/jdk/pull/20955/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20955&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8338693
Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/20955.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20955/head:pull/20955
PR: https://git.openjdk.org/jdk/pull/20955
More information about the hotspot-runtime-dev
mailing list