Mercurial > hg > jdk9-shenandoah > hotspot
changeset 9610:5e256d10f5e3
Only compact non-empty regions in ShenandoahMarkCompact.
author | rkennke |
---|---|
date | Tue, 08 Sep 2015 12:14:22 +0200 |
parents | 357943ab942a |
children | abd7e1819ef1 |
files | src/share/vm/gc/shenandoah/shenandoahMarkCompact.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/gc/shenandoah/shenandoahMarkCompact.cpp Mon Sep 07 23:43:31 2015 +0200 +++ b/src/share/vm/gc/shenandoah/shenandoahMarkCompact.cpp Tue Sep 08 12:14:22 2015 +0200 @@ -334,7 +334,7 @@ assert(obj->is_gc_marked(), "expect marked humongous object"); obj->init_mark(); } - } else { + } else if (r->not_empty()) { r->compact(); }