comparison src/share/vm/runtime/javaCalls.cpp @ 1796:18c378513575

Merge
author kvn
date Thu, 16 Sep 2010 16:48:40 -0700
parents d5d065957597
children 2d26b0046e0d f95d63e2154a
comparison
equal deleted inserted replaced
1781:97fbf5beff7b 1796:18c378513575
327 } 327 }
328 #endif 328 #endif
329 329
330 330
331 assert(!thread->is_Compiler_thread(), "cannot compile from the compiler"); 331 assert(!thread->is_Compiler_thread(), "cannot compile from the compiler");
332 if (CompilationPolicy::mustBeCompiled(method)) { 332 if (CompilationPolicy::must_be_compiled(method)) {
333 CompileBroker::compile_method(method, InvocationEntryBci, 333 CompileBroker::compile_method(method, InvocationEntryBci,
334 methodHandle(), 0, "mustBeCompiled", CHECK); 334 CompLevel_initial_compile,
335 methodHandle(), 0, "must_be_compiled", CHECK);
335 } 336 }
336 337
337 // Since the call stub sets up like the interpreter we call the from_interpreted_entry 338 // Since the call stub sets up like the interpreter we call the from_interpreted_entry
338 // so we can go compiled via a i2c. Otherwise initial entry method will always 339 // so we can go compiled via a i2c. Otherwise initial entry method will always
339 // run interpreted. 340 // run interpreted.