< prev index next >

src/hotspot/share/memory/universe.cpp

Print this page
rev 52361 : [mq]: webrev.2.incr

*** 103,113 **** oop Universe::_the_null_sentinel = NULL; oop Universe::_the_null_string = NULL; oop Universe::_the_min_jint_string = NULL; LatestMethodCache* Universe::_finalizer_register_cache = NULL; LatestMethodCache* Universe::_loader_addClass_cache = NULL; - LatestMethodCache* Universe::_pd_implies_cache = NULL; LatestMethodCache* Universe::_throw_illegal_access_error_cache = NULL; LatestMethodCache* Universe::_do_stack_walk_cache = NULL; oop Universe::_out_of_memory_error_java_heap = NULL; oop Universe::_out_of_memory_error_metaspace = NULL; oop Universe::_out_of_memory_error_class_metaspace = NULL; --- 103,112 ----
*** 227,237 **** 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); - _pd_implies_cache->metaspace_pointers_do(it); _throw_illegal_access_error_cache->metaspace_pointers_do(it); _do_stack_walk_cache->metaspace_pointers_do(it); } // Serialize metadata and pointers to primitive type mirrors in and out of CDS archive --- 226,235 ----
*** 269,279 **** 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); } void Universe::check_alignment(uintx size, uintx alignment, const char* name) { --- 267,276 ----
*** 678,688 **** // We have a heap so create the Method* caches before // Metaspace::initialize_shared_spaces() tries to populate them. Universe::_finalizer_register_cache = new LatestMethodCache(); Universe::_loader_addClass_cache = new LatestMethodCache(); - Universe::_pd_implies_cache = new LatestMethodCache(); Universe::_throw_illegal_access_error_cache = new LatestMethodCache(); Universe::_do_stack_walk_cache = new LatestMethodCache(); #if INCLUDE_CDS if (UseSharedSpaces) { --- 675,684 ----
*** 932,947 **** initialize_known_method(_loader_addClass_cache, SystemDictionary::ClassLoader_klass(), "addClass", vmSymbols::class_void_signature(), false, CHECK); - // Set up method for checking protection domain - initialize_known_method(_pd_implies_cache, - SystemDictionary::ProtectionDomain_klass(), - "impliesCreateAccessControlContext", - vmSymbols::void_boolean_signature(), false, CHECK); - // Set up method for stack walking initialize_known_method(_do_stack_walk_cache, SystemDictionary::AbstractStackWalker_klass(), "doStackWalk", vmSymbols::doStackWalk_signature(), false, CHECK); --- 928,937 ----
< prev index next >