src/share/vm/utilities/vmError.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/vm/utilities/vmError.cpp
src/share/vm/utilities/vmError.cpp
Print this page
rev 9949 : 8138756: Compiler Control: Print directives in hs_err
Summary: Add directive print in hs_err
Reviewed-by:
*** 516,532 ****
STEP(190, "(printing current compile task)" )
if (_verbose && _thread && _thread->is_Compiler_thread()) {
CompilerThread* t = (CompilerThread*)_thread;
if (t->task()) {
- st->cr();
st->print_cr("Current CompileTask:");
t->task()->print_line_on_error(st, buf, sizeof(buf));
st->cr();
}
- }
STEP(200, "(printing stack bounds)" )
if (_verbose) {
st->print("Stack: ");
--- 516,540 ----
STEP(190, "(printing current compile task)" )
if (_verbose && _thread && _thread->is_Compiler_thread()) {
CompilerThread* t = (CompilerThread*)_thread;
if (t->task()) {
st->print_cr("Current CompileTask:");
t->task()->print_line_on_error(st, buf, sizeof(buf));
st->cr();
}
+ if (t->env()) {
+ st->print_cr("Compiling with directive:");
+ if (t->env()->directive()) {
+ t->env()->directive()->print(st);
+ } else {
+ st->print_cr("No directive found:");
+ }
+ st->cr();
+ }
+ }
STEP(200, "(printing stack bounds)" )
if (_verbose) {
st->print("Stack: ");
src/share/vm/utilities/vmError.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File