This commit is contained in:
Vladimir Ivanov 2016-05-06 18:20:50 +03:00
commit 622a5ae6f0
112 changed files with 2044 additions and 803 deletions

View file

@ -1647,7 +1647,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
}
// Force compilation
CompileBroker::compile_method(m, InvocationEntryBci, comp_level,
methodHandle(), 0, "CTW", THREAD);
methodHandle(), 0, CompileTask::Reason_CTW, THREAD);
if (HAS_PENDING_EXCEPTION) {
clear_pending_exception_if_not_oom(CHECK);
tty->print_cr("CompileTheWorld (%d) : Skipping method: %s", _compile_the_world_class_counter, m->name_and_sig_as_C_string());
@ -1663,7 +1663,7 @@ void ClassLoader::compile_the_world_in(char* name, Handle loader, TRAPS) {
m->clear_code();
}
CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_full_optimization,
methodHandle(), 0, "CTW", THREAD);
methodHandle(), 0, CompileTask::Reason_CTW, THREAD);
if (HAS_PENDING_EXCEPTION) {
clear_pending_exception_if_not_oom(CHECK);
tty->print_cr("CompileTheWorld (%d) : Skipping method: %s", _compile_the_world_class_counter, m->name_and_sig_as_C_string());