8258814: Compilation logging crashes for thread suspension / debugging tests

Reviewed-by: xliu, phh
This commit is contained in:
Yi-Fan Tsai 2022-01-20 23:46:26 +00:00 committed by Paul Hohensee
parent 293fb46f7c
commit 35ee0f38c6

@ -1970,6 +1970,8 @@ void CompileBroker::compiler_thread_loop() {
method->clear_queued_for_compilation();
task->set_failure_reason("compilation is disabled");
}
} else {
task->set_failure_reason("breakpoints are present");
}
if (UseDynamicNumberOfCompilerThreads) {