Mercurial > hg > truffle
comparison src/share/vm/utilities/vmError.cpp @ 56:31d829b33f26
6549844: Wording problems in "An unexpected error ..."
Summary: Changed wording to "A fatal error.." also don't claim it's not VM bug if in hotspot compilers (Java thread in native).
Reviewed-by: jjh, sbohne, jrose, never
author | coleenp |
---|---|
date | Wed, 27 Feb 2008 13:55:58 -0500 |
parents | a61af66fc99e |
children | ba764ed4b6f2 |
comparison
equal
deleted
inserted
replaced
55:2a8eb116ebbe | 56:31d829b33f26 |
---|---|
168 out->print_raw_cr("# If you would like to submit a bug report, please visit:"); | 168 out->print_raw_cr("# If you would like to submit a bug report, please visit:"); |
169 out->print_raw ("# "); | 169 out->print_raw ("# "); |
170 out->print_raw_cr(Arguments::java_vendor_url_bug()); | 170 out->print_raw_cr(Arguments::java_vendor_url_bug()); |
171 // If the crash is in native code, encourage user to submit a bug to the | 171 // If the crash is in native code, encourage user to submit a bug to the |
172 // provider of that code. | 172 // provider of that code. |
173 if (thread && thread->is_Java_thread()) { | 173 if (thread && thread->is_Java_thread() && |
174 !thread->is_hidden_from_external_view()) { | |
174 JavaThread* jt = (JavaThread*)thread; | 175 JavaThread* jt = (JavaThread*)thread; |
175 if (jt->thread_state() == _thread_in_native) { | 176 if (jt->thread_state() == _thread_in_native) { |
176 out->print_cr("# The crash happened outside the Java Virtual Machine in native code.\n# See problematic frame for where to report the bug."); | 177 out->print_cr("# The crash happened outside the Java Virtual Machine in native code.\n# See problematic frame for where to report the bug."); |
177 } | 178 } |
178 } | 179 } |
247 // don't allocate large buffer on stack | 248 // don't allocate large buffer on stack |
248 static char buf[O_BUFLEN]; | 249 static char buf[O_BUFLEN]; |
249 | 250 |
250 BEGIN | 251 BEGIN |
251 | 252 |
252 STEP(10, "(printing unexpected error message)") | 253 STEP(10, "(printing fatal error message)") |
253 | 254 |
254 st->print_cr("#"); | 255 st->print_cr("#"); |
255 st->print_cr("# An unexpected error has been detected by Java Runtime Environment:"); | 256 st->print_cr("# A fatal error has been detected by the Java Runtime Environment:"); |
256 | 257 |
257 STEP(15, "(printing type of error)") | 258 STEP(15, "(printing type of error)") |
258 | 259 |
259 switch(_id) { | 260 switch(_id) { |
260 case oom_error: | 261 case oom_error: |