Mercurial > hg > graal-compiler
comparison src/share/vm/opto/idealGraphPrinter.cpp @ 6268:6c5b7a6becc8
7187454: stack overflow in C2 compiler thread on Solaris x86
Summary: Added new FormatBufferResource class to use thread's resource area for error message buffer.
Reviewed-by: twisti
author | kvn |
---|---|
date | Mon, 30 Jul 2012 09:49:25 -0700 |
parents | d2a62e0f25eb |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6267:977007096840 | 6268:6c5b7a6becc8 |
---|---|
153 } | 153 } |
154 _output = _stream; | 154 _output = _stream; |
155 } else { | 155 } else { |
156 // It would be nice if we could shut down cleanly but it should | 156 // It would be nice if we could shut down cleanly but it should |
157 // be an error if we can't connect to the visualizer. | 157 // be an error if we can't connect to the visualizer. |
158 fatal(err_msg("Couldn't connect to visualizer at %s:%d", | 158 fatal(err_msg_res("Couldn't connect to visualizer at %s:%d", |
159 PrintIdealGraphAddress, PrintIdealGraphPort)); | 159 PrintIdealGraphAddress, PrintIdealGraphPort)); |
160 } | 160 } |
161 } | 161 } |
162 | 162 |
163 _xml = new (ResourceObj::C_HEAP, mtCompiler) xmlStream(_output); | 163 _xml = new (ResourceObj::C_HEAP, mtCompiler) xmlStream(_output); |
164 | 164 |