diff src/share/vm/memory/universe.inline.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 f95d63e2154a
children
line wrap: on
line diff
--- a/src/share/vm/memory/universe.inline.hpp	Wed Sep 10 21:45:28 2014 +0000
+++ b/src/share/vm/memory/universe.inline.hpp	Wed Sep 10 16:06:53 2014 -0700
@@ -41,4 +41,12 @@
   return type == T_DOUBLE || type == T_LONG;
 }
 
+inline oop Universe::allocation_context_notification_obj() {
+  return _allocation_context_notification_obj;
+}
+
+inline void Universe::set_allocation_context_notification_obj(oop obj) {
+  _allocation_context_notification_obj = obj;
+}
+
 #endif // SHARE_VM_MEMORY_UNIVERSE_INLINE_HPP