comparison 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
comparison
equal deleted inserted replaced
20444:fd9feb55481c 20445:e5668dcf12e9
39 static AllocationContext_t system() { 39 static AllocationContext_t system() {
40 return 0; 40 return 0;
41 } 41 }
42 }; 42 };
43 43
44 class AllocationContextStats: public StackObj {
45 public:
46 inline void clear() { }
47 inline void update(bool full_gc) { }
48 inline void update_at_remark() { }
49 };
50
44 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCATIONCONTEXT_HPP 51 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCATIONCONTEXT_HPP