mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8273712: C2: Add mechanism for rejecting inlining of low frequency call sites and deprecate MinInliningThreshold.
Reviewed-by: kvn, rbackman
This commit is contained in:
parent
3221a14f9e
commit
89671aa164
6 changed files with 34 additions and 22 deletions
|
@ -237,6 +237,7 @@ class CompilationPolicy : AllStatic {
|
|||
// m must be compiled before executing it
|
||||
static bool must_be_compiled(const methodHandle& m, int comp_level = CompLevel_any);
|
||||
public:
|
||||
static int min_invocations() { return Tier4MinInvocationThreshold; }
|
||||
static int c1_count() { return _c1_count; }
|
||||
static int c2_count() { return _c2_count; }
|
||||
static int compiler_count(CompLevel comp_level);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue