mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-24 21:34:52 +02:00
7131259: compile_method and CompilationPolicy::event shouldn't be declared TRAPS
Make sure that CompilationPolicy::event() doesn't throw exceptions Reviewed-by: kvn, never
This commit is contained in:
parent
070f9108ff
commit
84dda879d0
11 changed files with 88 additions and 87 deletions
|
@ -333,7 +333,7 @@ class CompileBroker: AllStatic {
|
|||
methodHandle hot_method,
|
||||
int hot_count,
|
||||
const char* comment,
|
||||
TRAPS);
|
||||
Thread* thread);
|
||||
static CompileQueue* compile_queue(int comp_level) {
|
||||
if (is_c2_compile(comp_level)) return _c2_method_queue;
|
||||
if (is_c1_compile(comp_level)) return _c1_method_queue;
|
||||
|
@ -363,7 +363,7 @@ class CompileBroker: AllStatic {
|
|||
int comp_level,
|
||||
methodHandle hot_method,
|
||||
int hot_count,
|
||||
const char* comment, TRAPS);
|
||||
const char* comment, Thread* thread);
|
||||
|
||||
static void compiler_thread_loop();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue