mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8263582: WB_IsMethodCompilable ignores compiler directives
Reviewed-by: iveresov, kvn, neliasso
This commit is contained in:
parent
928fa5b5f9
commit
ab6faa607b
5 changed files with 141 additions and 13 deletions
|
@ -237,7 +237,7 @@ class CompilationPolicy : AllStatic {
|
|||
static jlong start_time() { return _start_time; }
|
||||
|
||||
// m must be compiled before executing it
|
||||
static bool must_be_compiled(const methodHandle& m, int comp_level = CompLevel_all);
|
||||
static bool must_be_compiled(const methodHandle& m, int comp_level = CompLevel_any);
|
||||
public:
|
||||
static int c1_count() { return _c1_count; }
|
||||
static int c2_count() { return _c2_count; }
|
||||
|
@ -248,9 +248,9 @@ public:
|
|||
static void compile_if_required(const methodHandle& m, TRAPS);
|
||||
|
||||
// m is allowed to be compiled
|
||||
static bool can_be_compiled(const methodHandle& m, int comp_level = CompLevel_all);
|
||||
static bool can_be_compiled(const methodHandle& m, int comp_level = CompLevel_any);
|
||||
// m is allowed to be osr compiled
|
||||
static bool can_be_osr_compiled(const methodHandle& m, int comp_level = CompLevel_all);
|
||||
static bool can_be_osr_compiled(const methodHandle& m, int comp_level = CompLevel_any);
|
||||
static bool is_compilation_enabled();
|
||||
|
||||
static void do_safepoint_work() { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue