Mercurial > hg > truffle
comparison src/share/vm/memory/universe.cpp @ 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 | 6e0cb14ce59b |
children | b840813adfcc |
comparison
equal
deleted
inserted
replaced
20449:2402de236865 | 20450:fa6c442c59ee |
---|---|
124 bool Universe::_verify_in_progress = false; | 124 bool Universe::_verify_in_progress = false; |
125 oop Universe::_null_ptr_exception_instance = NULL; | 125 oop Universe::_null_ptr_exception_instance = NULL; |
126 oop Universe::_arithmetic_exception_instance = NULL; | 126 oop Universe::_arithmetic_exception_instance = NULL; |
127 oop Universe::_virtual_machine_error_instance = NULL; | 127 oop Universe::_virtual_machine_error_instance = NULL; |
128 oop Universe::_vm_exception = NULL; | 128 oop Universe::_vm_exception = NULL; |
129 oop Universe::_allocation_context_notification_obj = NULL; | |
130 | |
129 Method* Universe::_throw_illegal_access_error = NULL; | 131 Method* Universe::_throw_illegal_access_error = NULL; |
130 Array<int>* Universe::_the_empty_int_array = NULL; | 132 Array<int>* Universe::_the_empty_int_array = NULL; |
131 Array<u2>* Universe::_the_empty_short_array = NULL; | 133 Array<u2>* Universe::_the_empty_short_array = NULL; |
132 Array<Klass*>* Universe::_the_empty_klass_array = NULL; | 134 Array<Klass*>* Universe::_the_empty_klass_array = NULL; |
133 Array<Method*>* Universe::_the_empty_method_array = NULL; | 135 Array<Method*>* Universe::_the_empty_method_array = NULL; |
193 f->do_oop((oop*)&_arithmetic_exception_instance); | 195 f->do_oop((oop*)&_arithmetic_exception_instance); |
194 f->do_oop((oop*)&_virtual_machine_error_instance); | 196 f->do_oop((oop*)&_virtual_machine_error_instance); |
195 f->do_oop((oop*)&_main_thread_group); | 197 f->do_oop((oop*)&_main_thread_group); |
196 f->do_oop((oop*)&_system_thread_group); | 198 f->do_oop((oop*)&_system_thread_group); |
197 f->do_oop((oop*)&_vm_exception); | 199 f->do_oop((oop*)&_vm_exception); |
200 f->do_oop((oop*)&_allocation_context_notification_obj); | |
198 debug_only(f->do_oop((oop*)&_fullgc_alot_dummy_array);) | 201 debug_only(f->do_oop((oop*)&_fullgc_alot_dummy_array);) |
199 } | 202 } |
200 | 203 |
201 // Serialize metadata in and out of CDS archive, not oops. | 204 // Serialize metadata in and out of CDS archive, not oops. |
202 void Universe::serialize(SerializeClosure* f, bool do_all) { | 205 void Universe::serialize(SerializeClosure* f, bool do_all) { |