Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/universe.hpp @ 6751:2a48c84f1d04
7197269: NPG: FollowReferences has no ClassLoader -> Class link to follow
Summary: restore java/lang/ClassLoader.addClass() upcall
Reviewed-by: sspitsyn, dcubed, jmasa
author | coleenp |
---|---|
date | Mon, 17 Sep 2012 10:46:59 -0400 |
parents | da91efe96a93 |
children | 8e47bac5643a 4202510ee0fe |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.hpp Thu Sep 13 21:20:26 2012 +0200 +++ b/src/share/vm/memory/universe.hpp Mon Sep 17 10:46:59 2012 -0400 @@ -175,6 +175,7 @@ static oop _the_null_string; // A cache of "null" as a Java string static oop _the_min_jint_string; // A cache of "-2147483648" as a Java string static LatestMethodOopCache* _finalizer_register_cache; // static method for registering finalizable objects + static LatestMethodOopCache* _loader_addClass_cache; // method for registering loaded classes in class loader vector static ActiveMethodOopsCache* _reflect_invoke_cache; // method for security checks static oop _out_of_memory_error_java_heap; // preallocated error object (no backtrace) static oop _out_of_memory_error_perm_gen; // preallocated error object (no backtrace) @@ -318,6 +319,7 @@ static oop the_null_string() { return _the_null_string; } static oop the_min_jint_string() { return _the_min_jint_string; } static Method* finalizer_register_method() { return _finalizer_register_cache->get_Method(); } + static Method* loader_addClass_method() { return _loader_addClass_cache->get_Method(); } static ActiveMethodOopsCache* reflect_invoke_cache() { return _reflect_invoke_cache; } static oop null_ptr_exception_instance() { return _null_ptr_exception_instance; } static oop arithmetic_exception_instance() { return _arithmetic_exception_instance; }