Skip to content

Commit deb0544

Browse files
committed
8261251: Shenandoah: Use object size for full GC humongous compaction
Reviewed-by: aph, shade
1 parent d45343e commit deb0544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ void ShenandoahFullGC::compact_humongous_objects() {
958958

959959
Copy::aligned_conjoint_words(heap->get_region(old_start)->bottom(),
960960
heap->get_region(new_start)->bottom(),
961-
ShenandoahHeapRegion::region_size_words()*num_regions);
961+
words_size);
962962

963963
oop new_obj = oop(heap->get_region(new_start)->bottom());
964964
new_obj->init_mark();

0 commit comments

Comments
 (0)