6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized"
authornever
Tue, 01 Mar 2011 10:27:15 -0800
changeset 8497 aa7fd2c3caa9
parent 8496 2d29a13b66ed
child 8498 6398004126b9
6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized" Reviewed-by: kvn, iveresov
hotspot/src/share/vm/classfile/classLoader.cpp
hotspot/src/share/vm/runtime/globals.hpp
--- a/hotspot/src/share/vm/classfile/classLoader.cpp	Mon Feb 28 17:12:42 2011 -0800
+++ b/hotspot/src/share/vm/classfile/classLoader.cpp	Tue Mar 01 10:27:15 2011 -0800
@@ -1332,7 +1332,7 @@
       }
 
       if (_compile_the_world_counter >= CompileTheWorldStartAt) {
-        if (k.is_null() || (exception_occurred && !CompileTheWorldIgnoreInitErrors)) {
+        if (k.is_null() || exception_occurred) {
           // If something went wrong (e.g. ExceptionInInitializerError) we skip this class
           tty->print_cr("CompileTheWorld (%d) : Skipping %s", _compile_the_world_counter, buffer);
         } else {
--- a/hotspot/src/share/vm/runtime/globals.hpp	Mon Feb 28 17:12:42 2011 -0800
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Tue Mar 01 10:27:15 2011 -0800
@@ -2610,9 +2610,6 @@
   develop(bool, CompileTheWorldPreloadClasses, true,                        \
           "Preload all classes used by a class before start loading")       \
                                                                             \
-  notproduct(bool, CompileTheWorldIgnoreInitErrors, false,                  \
-          "Compile all methods although class initializer failed")          \
-                                                                            \
   notproduct(intx, CompileTheWorldSafepointInterval, 100,                   \
           "Force a safepoint every n compiles so sweeper can keep up")      \
                                                                             \