Mercurial > hg > truffle
diff src/share/vm/runtime/thread.hpp @ 6999:679e6584c177
added ScopedDebugValue to add values of interest to hs_err crash logs
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 21 Nov 2012 19:23:43 +0100 |
parents | e522a00b91aa |
children | 291ffc492eb6 |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.hpp Tue Nov 20 22:50:44 2012 +0100 +++ b/src/share/vm/runtime/thread.hpp Wed Nov 21 19:23:43 2012 +0100 @@ -903,6 +903,7 @@ #ifdef GRAAL volatile oop _graal_deopt_info; address _graal_alternate_call_target; + DebugScopedValue* _debug_scope; #endif #ifdef HIGH_LEVEL_INTERPRETER bool _high_level_interpreter_in_vm; @@ -1283,6 +1284,9 @@ void set_graal_deopt_info(oop o) { _graal_deopt_info = o; } void set_graal_alternate_call_target(address a) { _graal_alternate_call_target = a; } + + DebugScopedValue* debug_scope() const { return _debug_scope; } + void set_debug_scope(DebugScopedValue* ds) { _debug_scope = ds; } #endif #ifdef HIGH_LEVEL_INTERPRETER bool high_level_interpreter_in_vm() { return _high_level_interpreter_in_vm; }