RFR: 8338693: assert(Atomic::add(&ik->_shared_class_load_count, 1) == 1) failed: shared class loaded more than once [v2]

Matias Saavedra Silva matsaave at openjdk.org
Tue Sep 17 19:52:38 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.

Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:

  Ioi suggestion

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20955/files
  - new: https://git.openjdk.org/jdk/pull/20955/files/f798dc4e..f60833d6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20955&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20955&range=00-01

  Stats: 50 lines in 4 files changed: 23 ins; 21 del; 6 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