提交 caa99d4c 编写于 作者: N never

6725983: Assertion "method->method_holder())->is_not_initialized(),"method...

6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized"
Reviewed-by: kvn, iveresov
上级 a4454e40
...@@ -1332,7 +1332,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) { ...@@ -1332,7 +1332,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
} }
if (_compile_the_world_counter >= CompileTheWorldStartAt) { 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 // If something went wrong (e.g. ExceptionInInitializerError) we skip this class
tty->print_cr("CompileTheWorld (%d) : Skipping %s", _compile_the_world_counter, buffer); tty->print_cr("CompileTheWorld (%d) : Skipping %s", _compile_the_world_counter, buffer);
} else { } else {
......
...@@ -2610,9 +2610,6 @@ class CommandLineFlags { ...@@ -2610,9 +2610,6 @@ class CommandLineFlags {
develop(bool, CompileTheWorldPreloadClasses, true, \ develop(bool, CompileTheWorldPreloadClasses, true, \
"Preload all classes used by a class before start loading") \ "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, \ notproduct(intx, CompileTheWorldSafepointInterval, 100, \
"Force a safepoint every n compiles so sweeper can keep up") \ "Force a safepoint every n compiles so sweeper can keep up") \
\ \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册