1.1 --- a/src/share/vm/opto/idealGraphPrinter.cpp Wed Jun 27 15:23:36 2012 +0200 1.2 +++ b/src/share/vm/opto/idealGraphPrinter.cpp Thu Jun 28 17:03:16 2012 -0400 1.3 @@ -130,15 +130,15 @@ 1.4 } else { 1.5 st.print("%s%d", PrintIdealGraphFile, _file_count); 1.6 } 1.7 - fileStream *stream = new (ResourceObj::C_HEAP) fileStream(st.as_string()); 1.8 + fileStream *stream = new (ResourceObj::C_HEAP, mtCompiler) fileStream(st.as_string()); 1.9 _output = stream; 1.10 } else { 1.11 - fileStream *stream = new (ResourceObj::C_HEAP) fileStream(PrintIdealGraphFile); 1.12 + fileStream *stream = new (ResourceObj::C_HEAP, mtCompiler) fileStream(PrintIdealGraphFile); 1.13 _output = stream; 1.14 } 1.15 _file_count++; 1.16 } else { 1.17 - _stream = new (ResourceObj::C_HEAP) networkStream(); 1.18 + _stream = new (ResourceObj::C_HEAP, mtCompiler) networkStream(); 1.19 1.20 // Try to connect to visualizer 1.21 if (_stream->connect(PrintIdealGraphAddress, PrintIdealGraphPort)) { 1.22 @@ -160,7 +160,7 @@ 1.23 } 1.24 } 1.25 1.26 - _xml = new (ResourceObj::C_HEAP) xmlStream(_output); 1.27 + _xml = new (ResourceObj::C_HEAP, mtCompiler) xmlStream(_output); 1.28 1.29 head(TOP_ELEMENT); 1.30 }