8258814: Compilation logging crashes for thread suspension / debugging tests

Backport-of: 35ee0f38c6d5e35fb50a059a189e032df7f7e7c5
This commit is contained in:
Tobias Hartmann 2022-02-03 06:23:43 +00:00
parent d21b5e77fa
commit 93453364ed

View File

@ -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) {