mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8213014: Crash in CompileBroker::make_thread due to OOM
Added missing null checks and checks for pending exception. Reviewed-by: kvn, dholmes, mdoerr
This commit is contained in:
parent
b77f937f7e
commit
2fe0a0f20b
2 changed files with 16 additions and 15 deletions
|
@ -230,8 +230,7 @@ class CompileBroker: AllStatic {
|
|||
static volatile int _print_compilation_warning;
|
||||
|
||||
static Handle create_thread_oop(const char* name, TRAPS);
|
||||
static JavaThread* make_thread(jobject thread_oop, CompileQueue* queue,
|
||||
AbstractCompiler* comp, bool compiler_thread, TRAPS);
|
||||
static JavaThread* make_thread(jobject thread_oop, CompileQueue* queue, AbstractCompiler* comp, TRAPS);
|
||||
static void init_compiler_sweeper_threads();
|
||||
static void possibly_add_compiler_threads();
|
||||
static bool compilation_is_complete (const methodHandle& method, int osr_bci, int comp_level);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue