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

David Holmes dholmes at openjdk.org
Fri Sep 13 02:42:09 UTC 2024


On Wed, 11 Sep 2024 21:24:53 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> 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.

Just to be clear, which early return path did the test trigger and why?

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

PR Comment: https://git.openjdk.org/jdk/pull/20955#issuecomment-2347928929


More information about the hotspot-runtime-dev mailing list