src/share/vm/memory/universe.hpp

changeset 7164
fa6c442c59ee
parent 6134
9d15b81d5d1b
child 7419
d3f3f7677537
equal deleted inserted replaced
7163:2402de236865 7164: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; }

mercurial