changeset 2170:bc6b27fb3568

6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized" Reviewed-by: kvn, iveresov
author never
date Tue, 01 Mar 2011 10:27:15 -0800
parents 50c0f22d6d0e
children 0ac769a57c64
files src/share/vm/classfile/classLoader.cpp src/share/vm/runtime/globals.hpp
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoader.cpp	Mon Feb 28 17:12:42 2011 -0800
+++ b/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/src/share/vm/runtime/globals.hpp	Mon Feb 28 17:12:42 2011 -0800
+++ b/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")      \
                                                                             \