< prev index next >

src/hotspot/share/memory/universe.cpp

Print this page
rev 48959 : 8198420: Remove unused extension point AllocationContextStats
Reviewed-by:


 117 LatestMethodCache* Universe::_finalizer_register_cache = NULL;
 118 LatestMethodCache* Universe::_loader_addClass_cache    = NULL;
 119 LatestMethodCache* Universe::_pd_implies_cache         = NULL;
 120 LatestMethodCache* Universe::_throw_illegal_access_error_cache = NULL;
 121 LatestMethodCache* Universe::_do_stack_walk_cache     = NULL;
 122 oop Universe::_out_of_memory_error_java_heap          = NULL;
 123 oop Universe::_out_of_memory_error_metaspace          = NULL;
 124 oop Universe::_out_of_memory_error_class_metaspace    = NULL;
 125 oop Universe::_out_of_memory_error_array_size         = NULL;
 126 oop Universe::_out_of_memory_error_gc_overhead_limit  = NULL;
 127 oop Universe::_out_of_memory_error_realloc_objects    = NULL;
 128 oop Universe::_delayed_stack_overflow_error_message   = NULL;
 129 objArrayOop Universe::_preallocated_out_of_memory_error_array = NULL;
 130 volatile jint Universe::_preallocated_out_of_memory_error_avail_count = 0;
 131 bool Universe::_verify_in_progress                    = false;
 132 long Universe::verify_flags                           = Universe::Verify_All;
 133 oop Universe::_null_ptr_exception_instance            = NULL;
 134 oop Universe::_arithmetic_exception_instance          = NULL;
 135 oop Universe::_virtual_machine_error_instance         = NULL;
 136 oop Universe::_vm_exception                           = NULL;
 137 oop Universe::_allocation_context_notification_obj    = NULL;
 138 oop Universe::_reference_pending_list                 = NULL;
 139 
 140 Array<int>* Universe::_the_empty_int_array            = NULL;
 141 Array<u2>* Universe::_the_empty_short_array           = NULL;
 142 Array<Klass*>* Universe::_the_empty_klass_array     = NULL;
 143 Array<Method*>* Universe::_the_empty_method_array   = NULL;
 144 
 145 // These variables are guarded by FullGCALot_lock.
 146 debug_only(objArrayOop Universe::_fullgc_alot_dummy_array = NULL;)
 147 debug_only(int Universe::_fullgc_alot_dummy_next      = 0;)
 148 
 149 // Heap
 150 int             Universe::_verify_count = 0;
 151 
 152 // Oop verification (see MacroAssembler::verify_oop)
 153 uintptr_t       Universe::_verify_oop_mask = 0;
 154 uintptr_t       Universe::_verify_oop_bits = (uintptr_t) -1;
 155 
 156 int             Universe::_base_vtable_size = 0;
 157 bool            Universe::_bootstrapping = false;


 196   assert(_mirrors[0] == NULL && _mirrors[T_BOOLEAN - 1] == NULL, "checking");
 197 
 198   f->do_oop((oop*)&_the_empty_class_klass_array);
 199   f->do_oop((oop*)&_the_null_sentinel);
 200   f->do_oop((oop*)&_the_null_string);
 201   f->do_oop((oop*)&_the_min_jint_string);
 202   f->do_oop((oop*)&_out_of_memory_error_java_heap);
 203   f->do_oop((oop*)&_out_of_memory_error_metaspace);
 204   f->do_oop((oop*)&_out_of_memory_error_class_metaspace);
 205   f->do_oop((oop*)&_out_of_memory_error_array_size);
 206   f->do_oop((oop*)&_out_of_memory_error_gc_overhead_limit);
 207   f->do_oop((oop*)&_out_of_memory_error_realloc_objects);
 208   f->do_oop((oop*)&_delayed_stack_overflow_error_message);
 209   f->do_oop((oop*)&_preallocated_out_of_memory_error_array);
 210   f->do_oop((oop*)&_null_ptr_exception_instance);
 211   f->do_oop((oop*)&_arithmetic_exception_instance);
 212   f->do_oop((oop*)&_virtual_machine_error_instance);
 213   f->do_oop((oop*)&_main_thread_group);
 214   f->do_oop((oop*)&_system_thread_group);
 215   f->do_oop((oop*)&_vm_exception);
 216   f->do_oop((oop*)&_allocation_context_notification_obj);
 217   f->do_oop((oop*)&_reference_pending_list);
 218   debug_only(f->do_oop((oop*)&_fullgc_alot_dummy_array);)
 219 }
 220 
 221 void LatestMethodCache::metaspace_pointers_do(MetaspaceClosure* it) {
 222   it->push(&_klass);
 223 }
 224 
 225 void Universe::metaspace_pointers_do(MetaspaceClosure* it) {
 226   it->push(&_boolArrayKlassObj);
 227   it->push(&_byteArrayKlassObj);
 228   it->push(&_charArrayKlassObj);
 229   it->push(&_intArrayKlassObj);
 230   it->push(&_shortArrayKlassObj);
 231   it->push(&_longArrayKlassObj);
 232   it->push(&_singleArrayKlassObj);
 233   it->push(&_doubleArrayKlassObj);
 234   for (int i = 0; i < T_VOID+1; i++) {
 235     it->push(&_typeArrayKlassObjs[i]);
 236   }




 117 LatestMethodCache* Universe::_finalizer_register_cache = NULL;
 118 LatestMethodCache* Universe::_loader_addClass_cache    = NULL;
 119 LatestMethodCache* Universe::_pd_implies_cache         = NULL;
 120 LatestMethodCache* Universe::_throw_illegal_access_error_cache = NULL;
 121 LatestMethodCache* Universe::_do_stack_walk_cache     = NULL;
 122 oop Universe::_out_of_memory_error_java_heap          = NULL;
 123 oop Universe::_out_of_memory_error_metaspace          = NULL;
 124 oop Universe::_out_of_memory_error_class_metaspace    = NULL;
 125 oop Universe::_out_of_memory_error_array_size         = NULL;
 126 oop Universe::_out_of_memory_error_gc_overhead_limit  = NULL;
 127 oop Universe::_out_of_memory_error_realloc_objects    = NULL;
 128 oop Universe::_delayed_stack_overflow_error_message   = NULL;
 129 objArrayOop Universe::_preallocated_out_of_memory_error_array = NULL;
 130 volatile jint Universe::_preallocated_out_of_memory_error_avail_count = 0;
 131 bool Universe::_verify_in_progress                    = false;
 132 long Universe::verify_flags                           = Universe::Verify_All;
 133 oop Universe::_null_ptr_exception_instance            = NULL;
 134 oop Universe::_arithmetic_exception_instance          = NULL;
 135 oop Universe::_virtual_machine_error_instance         = NULL;
 136 oop Universe::_vm_exception                           = NULL;

 137 oop Universe::_reference_pending_list                 = NULL;
 138 
 139 Array<int>* Universe::_the_empty_int_array            = NULL;
 140 Array<u2>* Universe::_the_empty_short_array           = NULL;
 141 Array<Klass*>* Universe::_the_empty_klass_array     = NULL;
 142 Array<Method*>* Universe::_the_empty_method_array   = NULL;
 143 
 144 // These variables are guarded by FullGCALot_lock.
 145 debug_only(objArrayOop Universe::_fullgc_alot_dummy_array = NULL;)
 146 debug_only(int Universe::_fullgc_alot_dummy_next      = 0;)
 147 
 148 // Heap
 149 int             Universe::_verify_count = 0;
 150 
 151 // Oop verification (see MacroAssembler::verify_oop)
 152 uintptr_t       Universe::_verify_oop_mask = 0;
 153 uintptr_t       Universe::_verify_oop_bits = (uintptr_t) -1;
 154 
 155 int             Universe::_base_vtable_size = 0;
 156 bool            Universe::_bootstrapping = false;


 195   assert(_mirrors[0] == NULL && _mirrors[T_BOOLEAN - 1] == NULL, "checking");
 196 
 197   f->do_oop((oop*)&_the_empty_class_klass_array);
 198   f->do_oop((oop*)&_the_null_sentinel);
 199   f->do_oop((oop*)&_the_null_string);
 200   f->do_oop((oop*)&_the_min_jint_string);
 201   f->do_oop((oop*)&_out_of_memory_error_java_heap);
 202   f->do_oop((oop*)&_out_of_memory_error_metaspace);
 203   f->do_oop((oop*)&_out_of_memory_error_class_metaspace);
 204   f->do_oop((oop*)&_out_of_memory_error_array_size);
 205   f->do_oop((oop*)&_out_of_memory_error_gc_overhead_limit);
 206   f->do_oop((oop*)&_out_of_memory_error_realloc_objects);
 207   f->do_oop((oop*)&_delayed_stack_overflow_error_message);
 208   f->do_oop((oop*)&_preallocated_out_of_memory_error_array);
 209   f->do_oop((oop*)&_null_ptr_exception_instance);
 210   f->do_oop((oop*)&_arithmetic_exception_instance);
 211   f->do_oop((oop*)&_virtual_machine_error_instance);
 212   f->do_oop((oop*)&_main_thread_group);
 213   f->do_oop((oop*)&_system_thread_group);
 214   f->do_oop((oop*)&_vm_exception);

 215   f->do_oop((oop*)&_reference_pending_list);
 216   debug_only(f->do_oop((oop*)&_fullgc_alot_dummy_array);)
 217 }
 218 
 219 void LatestMethodCache::metaspace_pointers_do(MetaspaceClosure* it) {
 220   it->push(&_klass);
 221 }
 222 
 223 void Universe::metaspace_pointers_do(MetaspaceClosure* it) {
 224   it->push(&_boolArrayKlassObj);
 225   it->push(&_byteArrayKlassObj);
 226   it->push(&_charArrayKlassObj);
 227   it->push(&_intArrayKlassObj);
 228   it->push(&_shortArrayKlassObj);
 229   it->push(&_longArrayKlassObj);
 230   it->push(&_singleArrayKlassObj);
 231   it->push(&_doubleArrayKlassObj);
 232   for (int i = 0; i < T_VOID+1; i++) {
 233     it->push(&_typeArrayKlassObjs[i]);
 234   }


< prev index next >