< prev index next > src/hotspot/share/runtime/javaThread.hpp
Print this page
Method* _callee_target;
// Used to pass back results to the interpreter or generated code running Java code.
oop _vm_result_oop; // oop result is GC-preserved
Metadata* _vm_result_metadata; // non-oop result
+ oop _return_buffered_value; // buffered value being returned
ObjectMonitor* volatile _current_pending_monitor; // ObjectMonitor this thread is waiting to lock
bool _current_pending_monitor_is_from_java; // locking is from Java code
ObjectMonitor* volatile _current_waiting_monitor; // ObjectMonitor on which this thread called Object.wait()
oop vm_result_oop() const { return _vm_result_oop; }
void set_vm_result_oop(oop x) { _vm_result_oop = x; }
void set_vm_result_metadata(Metadata* x) { _vm_result_metadata = x; }
+ oop return_buffered_value() const { return _return_buffered_value; }
+ void set_return_buffered_value(oop val) { _return_buffered_value = val; }
+
// Is thread in scope of an InternalOOMEMark?
bool is_in_internal_oome_mark() const { return _is_in_internal_oome_mark; }
void set_is_in_internal_oome_mark(bool b) { _is_in_internal_oome_mark = b; }
#if INCLUDE_JVMCI
return byte_offset_of(JavaThread, _anchor);
}
static ByteSize callee_target_offset() { return byte_offset_of(JavaThread, _callee_target); }
static ByteSize vm_result_oop_offset() { return byte_offset_of(JavaThread, _vm_result_oop); }
static ByteSize vm_result_metadata_offset() { return byte_offset_of(JavaThread, _vm_result_metadata); }
+ static ByteSize return_buffered_value_offset() { return byte_offset_of(JavaThread, _return_buffered_value); }
static ByteSize thread_state_offset() { return byte_offset_of(JavaThread, _thread_state); }
static ByteSize saved_exception_pc_offset() { return byte_offset_of(JavaThread, _saved_exception_pc); }
static ByteSize osthread_offset() { return byte_offset_of(JavaThread, _osthread); }
#if INCLUDE_JVMCI
static ByteSize pending_deoptimization_offset() { return byte_offset_of(JavaThread, _pending_deoptimization); }
< prev index next >