-
Enhancement
-
Resolution: Fixed
-
P4
-
24
-
b12
In GC verification code, we are not always safe to touch the klass directly. This becomes a problem in Lilliput, where loading klass from the from-space is erroneous. Lilliput would replace `obj->klass()` with `obj->forward_safe_klass()` to make it right in GC code. But accessors like `java_lang_Class` would not be fixed. So we are better avoiding using these `java_lang_Class` accessors in GC verification code, and use the loaded `klass` directly.
- relates to
-
JDK-8337213 Shenandoah: Add verification for class mirrors
- Resolved
- links to
-
Commit(master) openjdk/jdk/e297e881
-
Commit(master) openjdk/shenandoah-jdk21u/b90ae41b
-
Review(master) openjdk/jdk/20651
-
Review(master) openjdk/shenandoah-jdk21u/128