Integrated: 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 19 14:20:47 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.
This pull request has now been integrated.
Changeset: 3bb8de31
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3bb8de31457a544d9c20a12f8d8d30d6d1cd9cba
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
8338693: assert(Atomic::add(&ik->_shared_class_load_count, 1) == 1) failed: shared class loaded more than once
Reviewed-by: iklam, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/20955
More information about the hotspot-runtime-dev
mailing list