6725983: Assertion "method->method_holder())->is_not_initialized(),"method holder must be initialized"
Reviewed-by: kvn, iveresov
This commit is contained in:
parent
d232a8bbdc
commit
5432554ecb
@ -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 {
|
|||||||
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") \
|
||||||
\
|
\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user