We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c5e901 commit 04dcaa3Copy full SHA for 04dcaa3
src/hotspot/share/compiler/compileBroker.cpp
@@ -224,12 +224,15 @@ CompileTaskWrapper::CompileTaskWrapper(CompileTask* task) {
224
225
CompileTaskWrapper::~CompileTaskWrapper() {
226
CompilerThread* thread = CompilerThread::current();
227
+
228
+ // First, disarm the timeout. This still relies on the underlying task.
229
+ thread->timeout()->disarm();
230
231
CompileTask* task = thread->task();
232
CompileLog* log = thread->log();
233
if (log != nullptr && !task->is_unloaded()) task->log_task_done(log);
234
thread->set_task(nullptr);
235
thread->set_env(nullptr);
- thread->timeout()->disarm();
236
if (task->is_blocking()) {
237
bool free_task = false;
238
{
0 commit comments