Mercurial > hg > jdk9-shenandoah > hotspot
changeset 9435:daae0f9a9a43
Fix accounting of humongous region size in mark-compact.
author | rkennke |
---|---|
date | Wed, 29 Jul 2015 11:02:20 +0200 |
parents | 9ec23e56f818 |
children | f6e57d4e6abb |
files | src/share/vm/gc_implementation/shenandoah/shenandoahMarkCompact.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shenandoah/shenandoahMarkCompact.cpp Wed Jul 29 07:53:38 2015 +0200 +++ b/src/share/vm/gc_implementation/shenandoah/shenandoahMarkCompact.cpp Wed Jul 29 11:02:20 2015 +0200 @@ -358,8 +358,8 @@ if (r->is_humongous_start()) { oop obj = oop(r->bottom() + BrooksPointer::BROOKS_POINTER_OBJ_SIZE); size_t size = obj->size() + BrooksPointer::BROOKS_POINTER_OBJ_SIZE; - _live += size * HeapWordSize; } + _live += ShenandoahHeapRegion::RegionSizeBytes; } else { size_t live = r->used();