Mercurial > hg > graal-compiler
changeset 8857:cc5b5976d72c
8005857: assert in GC_locker from PSOldGen::expand with -XX:+PrintGCDetails and Verbose
Summary: Use GC_locker::is_active_and_needs_gc() instead of GC_locker::is_active() for providing information about the reason of heap expansion.
Reviewed-by: jmasa, johnc
author | tschatzl |
---|---|
date | Tue, 02 Apr 2013 10:03:02 +0200 |
parents | 8bf6338972ce |
children | 15c04fe93c18 |
files | src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp Sat Mar 23 09:16:37 2013 +0100 +++ b/src/share/vm/gc_implementation/parallelScavenge/psOldGen.cpp Tue Apr 02 10:03:02 2013 +0200 @@ -256,7 +256,7 @@ } if (PrintGC && Verbose) { - if (success && GC_locker::is_active()) { + if (success && GC_locker::is_active_and_needs_gc()) { gclog_or_tty->print_cr("Garbage collection disabled, expanded heap instead"); } }