Skip to content
Permalink
Browse files
8261251: Shenandoah: Use object size for full GC humongous compaction
Reviewed-by: aph, shade
  • Loading branch information
rkennke committed Feb 8, 2021
1 parent d45343e commit deb0544ff330fadc5aac0378766bcd36c220d7e2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp
@@ -958,7 +958,7 @@ void ShenandoahFullGC::compact_humongous_objects() {

Copy::aligned_conjoint_words(heap->get_region(old_start)->bottom(),
heap->get_region(new_start)->bottom(),
ShenandoahHeapRegion::region_size_words()*num_regions);
words_size);

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

0 comments on commit deb0544

Please sign in to comment.