diff -r 9ae8719efcae -r acffe6ff3ae7 src/hotspot/share/gc/g1/g1EvacFailure.cpp --- a/src/hotspot/share/gc/g1/g1EvacFailure.cpp Mon Mar 26 16:51:43 2018 +0200 +++ b/src/hotspot/share/gc/g1/g1EvacFailure.cpp Mon Mar 26 16:51:43 2018 +0200 @@ -240,6 +240,7 @@ size_t live_bytes = remove_self_forward_ptr_by_walking_hr(hr, during_initial_mark); hr->rem_set()->clean_strong_code_roots(hr); + hr->rem_set()->clear_locked(true); hr->note_self_forwarding_removal_end(live_bytes); }