diff src/share/vm/gc_implementation/g1/g1AllocationContext.hpp @ 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 227a9e5e4b4a
children fa6c442c59ee
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp	Wed Sep 10 19:05:54 2014 +0000
+++ b/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp	Wed Sep 10 13:01:13 2014 -0700
@@ -41,4 +41,11 @@
   }
 };
 
+class AllocationContextStats: public StackObj {
+public:
+  inline void clear() { }
+  inline void update(bool full_gc) { }
+  inline void update_at_remark() { }
+};
+
 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCATIONCONTEXT_HPP