comparison 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
comparison
equal deleted inserted replaced
20449:2402de236865 20450:fa6c442c59ee
176 static oop _virtual_machine_error_instance; // preallocated exception object 176 static oop _virtual_machine_error_instance; // preallocated exception object
177 // The object used as an exception dummy when exceptions are thrown for 177 // The object used as an exception dummy when exceptions are thrown for
178 // the vm thread. 178 // the vm thread.
179 static oop _vm_exception; 179 static oop _vm_exception;
180 180
181 static oop _allocation_context_notification_obj;
182
181 // The particular choice of collected heap. 183 // The particular choice of collected heap.
182 static CollectedHeap* _collectedHeap; 184 static CollectedHeap* _collectedHeap;
183 185
184 static intptr_t _non_oop_bits; 186 static intptr_t _non_oop_bits;
185 187
305 307
306 static oop null_ptr_exception_instance() { return _null_ptr_exception_instance; } 308 static oop null_ptr_exception_instance() { return _null_ptr_exception_instance; }
307 static oop arithmetic_exception_instance() { return _arithmetic_exception_instance; } 309 static oop arithmetic_exception_instance() { return _arithmetic_exception_instance; }
308 static oop virtual_machine_error_instance() { return _virtual_machine_error_instance; } 310 static oop virtual_machine_error_instance() { return _virtual_machine_error_instance; }
309 static oop vm_exception() { return _vm_exception; } 311 static oop vm_exception() { return _vm_exception; }
312
313 static inline oop allocation_context_notification_obj();
314 static inline void set_allocation_context_notification_obj(oop obj);
315
310 static Method* throw_illegal_access_error() { return _throw_illegal_access_error; } 316 static Method* throw_illegal_access_error() { return _throw_illegal_access_error; }
311 317
312 static Array<int>* the_empty_int_array() { return _the_empty_int_array; } 318 static Array<int>* the_empty_int_array() { return _the_empty_int_array; }
313 static Array<u2>* the_empty_short_array() { return _the_empty_short_array; } 319 static Array<u2>* the_empty_short_array() { return _the_empty_short_array; }
314 static Array<Method*>* the_empty_method_array() { return _the_empty_method_array; } 320 static Array<Method*>* the_empty_method_array() { return _the_empty_method_array; }