Mercurial > hg > truffle
diff src/share/vm/memory/universe.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 | 9d15b81d5d1b |
children | d3f3f7677537 |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.hpp Wed Sep 10 21:45:28 2014 +0000 +++ b/src/share/vm/memory/universe.hpp Wed Sep 10 16:06:53 2014 -0700 @@ -178,6 +178,8 @@ // the vm thread. static oop _vm_exception; + static oop _allocation_context_notification_obj; + // The particular choice of collected heap. static CollectedHeap* _collectedHeap; @@ -307,6 +309,10 @@ static oop arithmetic_exception_instance() { return _arithmetic_exception_instance; } static oop virtual_machine_error_instance() { return _virtual_machine_error_instance; } static oop vm_exception() { return _vm_exception; } + + static inline oop allocation_context_notification_obj(); + static inline void set_allocation_context_notification_obj(oop obj); + static Method* throw_illegal_access_error() { return _throw_illegal_access_error; } static Array<int>* the_empty_int_array() { return _the_empty_int_array; }