comparison src/share/vm/runtime/compilationPolicy.cpp @ 10022:3ce140f4f2c9

Bootstrap-specific fix for CompilationPolicy 0.
author Christian Haeubl <haeubl@ssw.jku.at>
date Thu, 13 Jun 2013 14:44:33 +0200
parents 89e4d67fdd2a
children 836a62f43af9
comparison
equal deleted inserted replaced
10021:7f2e23d309b3 10022:3ce140f4f2c9
420 reset_counter_for_invocation_event(m); 420 reset_counter_for_invocation_event(m);
421 const char* comment = "count"; 421 const char* comment = "count";
422 422
423 if (is_compilation_enabled() && can_be_compiled(m)) { 423 if (is_compilation_enabled() && can_be_compiled(m)) {
424 nmethod* nm = m->code(); 424 nmethod* nm = m->code();
425 #ifdef GRAALVM
426 if (m->queued_for_compilation()) {
427 delay_compilation(m());
428 } else
429 #endif
425 if (nm == NULL ) { 430 if (nm == NULL ) {
426 CompileBroker::compile_method(m, InvocationEntryBci, comp_level, m, hot_count, comment, thread); 431 CompileBroker::compile_method(m, InvocationEntryBci, comp_level, m, hot_count, comment, thread);
427 } 432 }
428 } 433 }
429 } 434 }