< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentRefineThread.cpp

Print this page
rev 56898 : 8087198: G1 card refinement: batching, sorting
Reviewed-by: tschatzl

@@ -109,10 +109,11 @@
 
     size_t start_total_refined_cards = _total_refined_cards; // For logging.
 
     {
       SuspendibleThreadSetJoiner sts_join;
+      ResourceMark rm;
 
       while (!should_terminate()) {
         if (sts_join.should_yield()) {
           sts_join.yield();
           continue;             // Re-check for termination after yield delay.
< prev index next >