diff src/share/vm/gc_implementation/g1/g1AllocationContext.hpp @ 20450:fa6c442c59ee

8057827: notify an obj when allocation context stats are available Reviewed-by: mikael, jmasa, tschatzl
author jcoomes
date Wed, 10 Sep 2014 16:06:53 -0700
parents e5668dcf12e9
children 8d27d6113625
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp	Wed Sep 10 21:45:28 2014 +0000
+++ b/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp	Wed Sep 10 16:06:53 2014 -0700
@@ -46,6 +46,7 @@
   inline void clear() { }
   inline void update(bool full_gc) { }
   inline void update_at_remark() { }
+  inline bool available() { return false; }
 };
 
 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCATIONCONTEXT_HPP