8314324: "8311557: [JVMCI] deadlock with JVMTI thread suspension" causes various failures

Reviewed-by: cjplummer, thartmann
This commit is contained in:
Tom Rodriguez 2023-08-16 06:06:59 +00:00
parent 2bd2faeb76
commit e1fdef5613

View File

@ -150,7 +150,9 @@ class AbstractCompiler : public CHeapObj<mtCompiler> {
bool is_c2() const { return _type == compiler_c2; }
bool is_jvmci() const { return _type == compiler_jvmci; }
CompilerType type() const { return _type; }
virtual bool is_hidden_from_external_view() const { return false; }
// Compiler threads are hidden by default.
virtual bool is_hidden_from_external_view() const { return true; }
// Customization
virtual void initialize () = 0;