Integrated: 8257701: Shenandoah: objArrayKlass metadata is not marked with chunked arrays
Zhengyu Gu
zgu at openjdk.java.net
Thu Dec 3 20:01:57 UTC 2020
On Thu, 3 Dec 2020 17:51:05 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
> 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, so we end up missing the mark of object array klass metadata.
>
> Thanks for @lmao (Liang Mao) reporting the bug.
>
> - [x] hotspot_gc_shenandoah
This pull request has now been integrated.
Changeset: 7c7facc2
Author: Zhengyu Gu <zgu at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7c7facc2
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
8257701: Shenandoah: objArrayKlass metadata is not marked with chunked arrays
Reviewed-by: shade
-------------
PR: https://git.openjdk.java.net/jdk/pull/1602
More information about the hotspot-gc-dev
mailing list