Mercurial > hg > truffle
comparison src/share/vm/runtime/javaCalls.cpp @ 1783:d5d065957597
6953144: Tiered compilation
Summary: Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti
author | iveresov |
---|---|
date | Fri, 03 Sep 2010 17:51:07 -0700 |
parents | c18cbe5936b8 |
children | 2d26b0046e0d f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1782:f353275af40e | 1783:d5d065957597 |
---|---|
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. |