diff src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 20445:e5668dcf12e9

8057818: collect allocation context statistics at gc pauses Reviewed-by: mikael, jmasa
author jcoomes
date Wed, 10 Sep 2014 13:01:13 -0700
parents edb5f3b38aab
children c02ec279b062
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/concurrentMark.cpp	Wed Sep 10 19:05:54 2014 +0000
+++ b/src/share/vm/gc_implementation/g1/concurrentMark.cpp	Wed Sep 10 13:01:13 2014 -0700
@@ -3332,6 +3332,7 @@
   } else {
     g1_par_agg_task.work(0);
   }
+  _g1h->allocation_context_stats().update_at_remark();
 }
 
 // Clear the per-worker arrays used to store the per-region counting data