Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.
Permalink
Browse files
8257701: Shenandoah: objArrayKlass metadata is not marked with chunke…
…d arrays

Reviewed-by: shade
  • Loading branch information
zhengyu123 committed Dec 3, 2020
1 parent 2b73f99 commit 7c7facc234c9def1b4603cd5f8c8a4fc724c5870
Showing 1 changed file with 5 additions and 0 deletions.
@@ -111,6 +111,11 @@ inline void ShenandoahConcurrentMark::do_chunked_array_start(ShenandoahObjToScan
objArrayOop array = objArrayOop(obj);
int len = array->length();

// Mark objArray klass metadata
if (Devirtualizer::do_metadata(cl)) {
Devirtualizer::do_klass(cl, array->klass());
}

if (len <= (int) ObjArrayMarkingStride*2) {
// A few slices only, process directly
array->oop_iterate_range(cl, 0, len);

0 comments on commit 7c7facc

Please sign in to comment.