RFR: 8362559: [leyden] assert(!InstanceKlass::cast(receiver_klass)->is_not_initialized()) failed: receiver_klass must be initialized

Vladimir Kozlov kvn at openjdk.org
Wed Jul 23 20:00:42 UTC 2025


Fix is proposed by @iklam: add check that we precompiling AOT code in C1 where we check for initialized klass.

I renamed `is_compiled()` to `is_compile()` because we are in pricing of compiling.

Tested tier1-4,tier8-comp

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

Commit messages:
 - 8362559: [leyden] assert(!InstanceKlass::cast(receiver_klass)->is_not_initialized()) failed: receiver_klass must be initialized

Changes: https://git.openjdk.org/leyden/pull/88/files
  Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=88&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8362559
  Stats: 27 lines in 9 files changed: 6 ins; 1 del; 20 mod
  Patch: https://git.openjdk.org/leyden/pull/88.diff
  Fetch: git fetch https://git.openjdk.org/leyden.git pull/88/head:pull/88

PR: https://git.openjdk.org/leyden/pull/88


More information about the leyden-dev mailing list