comparison src/share/vm/compiler/compileBroker.hpp @ 4825:20334ed5ed3c

7131259: compile_method and CompilationPolicy::event shouldn't be declared TRAPS Summary: Make sure that CompilationPolicy::event() doesn't throw exceptions Reviewed-by: kvn, never
author iveresov
date Thu, 26 Jan 2012 12:15:24 -0800
parents f6f3bb0ee072
children aa3d708d67c4
comparison
equal deleted inserted replaced
4824:5dbed2f542ff 4825:20334ed5ed3c
331 int osr_bci, 331 int osr_bci,
332 int comp_level, 332 int comp_level,
333 methodHandle hot_method, 333 methodHandle hot_method,
334 int hot_count, 334 int hot_count,
335 const char* comment, 335 const char* comment,
336 TRAPS); 336 Thread* thread);
337 static CompileQueue* compile_queue(int comp_level) { 337 static CompileQueue* compile_queue(int comp_level) {
338 if (is_c2_compile(comp_level)) return _c2_method_queue; 338 if (is_c2_compile(comp_level)) return _c2_method_queue;
339 if (is_c1_compile(comp_level)) return _c1_method_queue; 339 if (is_c1_compile(comp_level)) return _c1_method_queue;
340 return NULL; 340 return NULL;
341 } 341 }
361 static nmethod* compile_method(methodHandle method, 361 static nmethod* compile_method(methodHandle method,
362 int osr_bci, 362 int osr_bci,
363 int comp_level, 363 int comp_level,
364 methodHandle hot_method, 364 methodHandle hot_method,
365 int hot_count, 365 int hot_count,
366 const char* comment, TRAPS); 366 const char* comment, Thread* thread);
367 367
368 static void compiler_thread_loop(); 368 static void compiler_thread_loop();
369 369
370 static uint get_compilation_id() { return _compilation_id; } 370 static uint get_compilation_id() { return _compilation_id; }
371 static bool is_idle(); 371 static bool is_idle();