Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.cpp Wed Sep 10 21:45:28 2014 +0000 +++ b/src/share/vm/memory/universe.cpp Wed Sep 10 16:06:53 2014 -0700 @@ -126,6 +126,8 @@ oop Universe::_arithmetic_exception_instance = NULL; oop Universe::_virtual_machine_error_instance = NULL; oop Universe::_vm_exception = NULL; +oop Universe::_allocation_context_notification_obj = NULL; + Method* Universe::_throw_illegal_access_error = NULL; Array<int>* Universe::_the_empty_int_array = NULL; Array<u2>* Universe::_the_empty_short_array = NULL; @@ -195,6 +197,7 @@ f->do_oop((oop*)&_main_thread_group); f->do_oop((oop*)&_system_thread_group); f->do_oop((oop*)&_vm_exception); + f->do_oop((oop*)&_allocation_context_notification_obj); debug_only(f->do_oop((oop*)&_fullgc_alot_dummy_array);) }