8356172: IdealGraphPrinter doesn't need ThreadCritical

Reviewed-by: rcastanedalo, chagedorn
This commit is contained in:
Coleen Phillimore 2025-05-06 11:48:02 +00:00
parent 614ba9fc41
commit ddd07b107e

View File

@ -1159,7 +1159,6 @@ void IdealGraphPrinter::print(const char* name, Node* node, GrowableArray<const
}
void IdealGraphPrinter::init_file_stream(const char* file_name, bool use_multiple_files) {
ThreadCritical tc;
if (use_multiple_files && _file_count != 0) {
assert(!_append, "append should only be used for debugging with a single file");
ResourceMark rm;