< prev index next >

src/hotspot/share/runtime/thread.hpp

Print this page
rev 49812 : Thread Dump Extension (memory allocation)

*** 49,58 **** --- 49,59 ---- #include "utilities/exceptions.hpp" #include "utilities/macros.hpp" #ifdef ZERO # include "stack_zero.hpp" #endif + #include "runtime/threadStatisticInfo.hpp" class ThreadSafepointState; class ThreadsList; class ThreadsSMRSupport; class NestedThreadsList;
*** 342,351 **** --- 343,354 ---- ThreadLocalAllocBuffer _tlab; // Thread-local eden jlong _allocated_bytes; // Cumulative number of bytes allocated on // the Java heap + ThreadStatisticInfo _statistic_info; // Statistic info about the thread + mutable TRACE_DATA _trace_data; // Thread-local data for tracing int _vm_operation_started_count; // VM_Operation support int _vm_operation_completed_count; // VM_Operation support
*** 520,529 **** --- 523,534 ---- jlong allocated_bytes() { return _allocated_bytes; } void set_allocated_bytes(jlong value) { _allocated_bytes = value; } void incr_allocated_bytes(jlong size) { _allocated_bytes += size; } inline jlong cooked_allocated_bytes(); + ThreadStatisticInfo& statistic_info() { return _statistic_info; } + TRACE_DEFINE_THREAD_TRACE_DATA_OFFSET; TRACE_DATA* trace_data() const { return &_trace_data; } bool is_trace_suspend() { return (_suspend_flags & _trace_flag) != 0; } // VM operation support
< prev index next >