[jdk11u-dev] Integrated: 8215575: C2 crash: assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded

Matthias Baesken mbaesken at openjdk.org
Thu Mar 23 08:56:55 UTC 2023


On Tue, 21 Mar 2023 15:22:57 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> .

This pull request has now been integrated.

Changeset: 386addf9
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/386addf9054029fd37301736438dfa7ce4b43d9d
Stats:     20 lines in 3 files changed: 7 ins; 8 del; 5 mod

8215575: C2 crash:  assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded

Set InstanceKlass::loaded before adding classes to the subklass list, which can be read concurrently by the compiler.

Reviewed-by: rrich
Backport-of: cab9667f411b363c8b68dc17fc85a397c8c3aeb6

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

PR: https://git.openjdk.org/jdk11u-dev/pull/1814


More information about the jdk-updates-dev mailing list