--- old/src/share/vm/utilities/vmError.cpp 2016-02-10 10:49:53.061356852 +0100 +++ new/src/share/vm/utilities/vmError.cpp 2016-02-10 10:49:52.937356846 +0100 @@ -524,13 +524,21 @@ 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(); } - } + 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)" )