OpenJDK / zgc / zgc
changeset 38268:222eea004d99
8156660: JDK-8150393 does not set _scan_in_progress properly
Reviewed-by: ehelin, mgerdin
author | tschatzl |
---|---|
date | Tue, 10 May 2016 16:40:04 +0200 |
parents | 087fd62badde |
children | d18cab031e64 |
files | hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp Tue May 10 11:50:45 2016 +0000 +++ b/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp Tue May 10 16:40:04 2016 +0200 @@ -273,7 +273,7 @@ // Currently, only survivors can be root regions. _claimed_survivor_index = 0; - _scan_in_progress = true; + _scan_in_progress = _survivors->regions()->is_nonempty(); _should_abort = false; }