aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/gc_implementation
diff options
context:
space:
mode:
authorjcoomes <none@none>2014-09-10 16:06:53 -0700
committerjcoomes <none@none>2014-09-10 16:06:53 -0700
commit9185926301940cd2305009cc50a7fc0ddc58f813 (patch)
tree54cc5f19c992412a1b746903275f0190f266a60f /src/share/vm/gc_implementation
parent01bc4bc1d363d7288c0287ac571823bdce7e2958 (diff)
downloadjdk8u_hotspot-9185926301940cd2305009cc50a7fc0ddc58f813.tar.gz
8057827: notify an obj when allocation context stats are available
Reviewed-by: mikael, jmasa, tschatzl
Diffstat (limited to 'src/share/vm/gc_implementation')
-rw-r--r--src/share/vm/gc_implementation/g1/g1AllocationContext.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp b/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp
index 3f114cbf1..ae64a36b9 100644
--- a/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp
+++ b/src/share/vm/gc_implementation/g1/g1AllocationContext.hpp
@@ -46,6 +46,7 @@ public:
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