mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8199624: [Graal] Blocking jvmci compilations time out
Handle blocking jvmci compilations that time out. Reviewed-by: kvn, dnsimon
This commit is contained in:
parent
68345b93ad
commit
eda7916ce8
5 changed files with 104 additions and 100 deletions
|
@ -1344,11 +1344,11 @@ CompileTask* CompileBroker::create_compile_task(CompileQueue* queue,
|
|||
#if INCLUDE_JVMCI
|
||||
// The number of milliseconds to wait before checking if
|
||||
// JVMCI compilation has made progress.
|
||||
static const long JVMCI_COMPILATION_PROGRESS_WAIT_TIMESLICE = 500;
|
||||
static const long JVMCI_COMPILATION_PROGRESS_WAIT_TIMESLICE = 1000;
|
||||
|
||||
// The number of JVMCI compilation progress checks that must fail
|
||||
// before unblocking a thread waiting for a blocking compilation.
|
||||
static const int JVMCI_COMPILATION_PROGRESS_WAIT_ATTEMPTS = 5;
|
||||
static const int JVMCI_COMPILATION_PROGRESS_WAIT_ATTEMPTS = 10;
|
||||
|
||||
/**
|
||||
* Waits for a JVMCI compiler to complete a given task. This thread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue