Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit 101e742

Browse files
committed
8261251: Shenandoah: Use object size for full GC humongous compaction
Reviewed-by: zgu Backport-of: deb0544ff330fadc5aac0378766bcd36c220d7e2
1 parent 39fb8e5 commit 101e742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/gc/shenandoah/shenandoahMarkCompact.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ void ShenandoahMarkCompact::compact_humongous_objects() {
915915

916916
Copy::aligned_conjoint_words(heap->get_region(old_start)->bottom(),
917917
heap->get_region(new_start)->bottom(),
918-
ShenandoahHeapRegion::region_size_words()*num_regions);
918+
words_size);
919919

920920
oop new_obj = oop(heap->get_region(new_start)->bottom());
921921
new_obj->init_mark();

0 commit comments

Comments
 (0)