< prev index next >

src/hotspot/share/memory/universe.cpp

Print this page

*** 133,142 **** --- 133,143 ---- oop Universe::_reference_pending_list = NULL; Array<int>* Universe::_the_empty_int_array = NULL; Array<u2>* Universe::_the_empty_short_array = NULL; Array<Klass*>* Universe::_the_empty_klass_array = NULL; + Array<InstanceKlass*>* Universe::_the_empty_instance_klass_array = NULL; Array<Method*>* Universe::_the_empty_method_array = NULL; // These variables are guarded by FullGCALot_lock. debug_only(objArrayOop Universe::_fullgc_alot_dummy_array = NULL;) debug_only(int Universe::_fullgc_alot_dummy_next = 0;)
*** 232,241 **** --- 233,243 ---- it->push(&_objectArrayKlassObj); it->push(&_the_empty_int_array); it->push(&_the_empty_short_array); it->push(&_the_empty_klass_array); + it->push(&_the_empty_instance_klass_array); it->push(&_the_empty_method_array); it->push(&_the_array_interfaces_array); _finalizer_register_cache->metaspace_pointers_do(it); _loader_addClass_cache->metaspace_pointers_do(it);
*** 285,294 **** --- 287,297 ---- f->do_ptr((void**)&_the_array_interfaces_array); f->do_ptr((void**)&_the_empty_int_array); f->do_ptr((void**)&_the_empty_short_array); f->do_ptr((void**)&_the_empty_method_array); f->do_ptr((void**)&_the_empty_klass_array); + f->do_ptr((void**)&_the_empty_instance_klass_array); _finalizer_register_cache->serialize(f); _loader_addClass_cache->serialize(f); _pd_implies_cache->serialize(f); _throw_illegal_access_error_cache->serialize(f); _do_stack_walk_cache->serialize(f);
*** 352,361 **** --- 355,365 ---- _the_array_interfaces_array = MetadataFactory::new_array<Klass*>(null_cld, 2, NULL, CHECK); _the_empty_int_array = MetadataFactory::new_array<int>(null_cld, 0, CHECK); _the_empty_short_array = MetadataFactory::new_array<u2>(null_cld, 0, CHECK); _the_empty_method_array = MetadataFactory::new_array<Method*>(null_cld, 0, CHECK); _the_empty_klass_array = MetadataFactory::new_array<Klass*>(null_cld, 0, CHECK); + _the_empty_instance_klass_array = MetadataFactory::new_array<InstanceKlass*>(null_cld, 0, CHECK); } } vmSymbols::initialize(CHECK);
< prev index next >