diff src/hotspot/share/gc/g1/g1EvacFailure.cpp @ 53912:bb051ca06e9e

8159440: Move marking of promoted objects during initial mark into the concurrent phase Reviewed-by: sjohanss, kbarrett
author tschatzl
date Thu, 06 Dec 2018 13:55:22 +0100
parents c25572739e7c
children 13acc8e38a29
line wrap: on
line diff
--- a/src/hotspot/share/gc/g1/g1EvacFailure.cpp	Thu Dec 06 13:55:22 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1EvacFailure.cpp	Thu Dec 06 13:55:22 2018 +0100
@@ -126,7 +126,7 @@
         // explicitly and all objects in the CSet are considered
         // (implicitly) live. So, we won't mark them explicitly and
         // we'll leave them over NTAMS.
-        _cm->mark_in_next_bitmap(_worker_id, obj);
+        _cm->mark_in_next_bitmap(_worker_id, _hr, obj);
       }
       size_t obj_size = obj->size();