VM is missing fast clinit checks in the interpreter when resolving constant pool entries for getstatic and putstatic bytecodes.
It has been implemented in leyden repo for x86-64 and aarch64 with this patch https://github.com/openjdk/leyden/commit/dae99ee7dc3ed813d10cb3ab8e7177a1905b7463
Same can be done in the mailine. It is also a prerequisite for https://bugs.openjdk.org/browse/JDK-8334898
It has been implemented in leyden repo for x86-64 and aarch64 with this patch https://github.com/openjdk/leyden/commit/dae99ee7dc3ed813d10cb3ab8e7177a1905b7463
Same can be done in the mailine. It is also a prerequisite for https://bugs.openjdk.org/browse/JDK-8334898
- blocks
-
JDK-8334898 Resolve static field/method references at CDS dump time
-
- Resolved
-
- causes
-
JDK-8370984 [Leyden] aotCode/AOTCodeFlags.java asserts receiver_klass->is_not_initialized after JDK-8369296
-
- Open
-
- relates to
-
JDK-8370886 [lworld] 8369296 partially reverted for resolving static get/put field
-
- Open
-
- links to
-
Commit(master)
openjdk/jdk/622a611c
-
Review(master)
openjdk/jdk/27676