mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-04 20:18:49 +00:00
8261251: Shenandoah: Use object size for full GC humongous compaction
Reviewed-by: aph, shade
This commit is contained in:
parent
d45343ea51
commit
deb0544ff3
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user