8295661: CompileTask::compile_id() should be passed as int

Reviewed-by: thartmann, dnsimon, never
This commit is contained in:
Damon Fenacci 2022-12-19 08:50:44 +00:00 committed by Tobias Hartmann
parent 86d588b035
commit 8e49fcdde4
9 changed files with 44 additions and 46 deletions

View file

@ -312,10 +312,10 @@ public:
TRAPS);
// Acquire any needed locks and assign a compile id
static uint assign_compile_id_unlocked(Thread* thread, const methodHandle& method, int osr_bci);
static int assign_compile_id_unlocked(Thread* thread, const methodHandle& method, int osr_bci);
static void compiler_thread_loop();
static uint get_compilation_id() { return _compilation_id; }
static int get_compilation_id() { return _compilation_id; }
// Set _should_block.
// Call this from the VM, with Threads_lock held and a safepoint requested.