-
Bug
-
Resolution: Fixed
-
P2
-
11, 15, 16
-
b28
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8257869 | 15u-cpu | Zhengyu Gu | P2 | Resolved | Fixed | master |
JDK-8257842 | 15.0.2 | Zhengyu Gu | P2 | Resolved | Fixed | b07 |
JDK-8258021 | 11.0.11 | Zhengyu Gu | P2 | Resolved | Fixed | b01 |
JDK-8257840 | 11.0.10 | Zhengyu Gu | P2 | Resolved | Fixed | b06 |
Usually, marking code calls Klass::oop_oop_iterate(), where it marks object klass metadata.
Shenandoah introduced chunked array processing a while ago to breakup marking a large array into chunks, then call oop_iterate_range() to mark individual chunk. Unfortunately, oop_iterate_range() does not iterate over object klass metadata, which it should *not*, so we end up missing the mark of object array klass metadata.
Thanks for [~lmao] reporting the bug.
Shenandoah introduced chunked array processing a while ago to breakup marking a large array into chunks, then call oop_iterate_range() to mark individual chunk. Unfortunately, oop_iterate_range() does not iterate over object klass metadata, which it should *not*, so we end up missing the mark of object array klass metadata.
Thanks for [~lmao] reporting the bug.
- backported by
-
JDK-8257840 Shenandoah: objArrayKlass metadata is not marked with chunked arrays
- Resolved
-
JDK-8257842 Shenandoah: objArrayKlass metadata is not marked with chunked arrays
- Resolved
-
JDK-8257869 Shenandoah: objArrayKlass metadata is not marked with chunked arrays
- Resolved
-
JDK-8258021 Shenandoah: objArrayKlass metadata is not marked with chunked arrays
- Resolved
- relates to
-
JDK-8129417 Oop iteration clean-up to remove oop_ms_follow_contents
- Resolved
(2 links to)