equal
deleted
inserted
replaced
48 jlong _cpu_time; |
48 jlong _cpu_time; |
49 jlong _wallclock_time; |
49 jlong _wallclock_time; |
50 unsigned int _stack_trace_hash; |
50 unsigned int _stack_trace_hash; |
51 mutable u4 _stackdepth; |
51 mutable u4 _stackdepth; |
52 volatile jint _entering_suspend_flag; |
52 volatile jint _entering_suspend_flag; |
|
53 bool _excluded; |
53 bool _dead; |
54 bool _dead; |
54 |
55 |
55 JfrBuffer* install_native_buffer() const; |
56 JfrBuffer* install_native_buffer() const; |
56 JfrBuffer* install_java_buffer() const; |
57 JfrBuffer* install_java_buffer() const; |
57 JfrStackFrame* install_stackframes() const; |
58 JfrStackFrame* install_stackframes() const; |
58 |
59 void release(Thread* t); |
59 static void release(JfrThreadLocal* tl, Thread* t); |
60 static void release(JfrThreadLocal* tl, Thread* t); |
60 |
61 |
61 public: |
62 public: |
62 JfrThreadLocal(); |
63 JfrThreadLocal(); |
63 |
64 |
201 |
202 |
202 void set_trace_id(traceid id) const { |
203 void set_trace_id(traceid id) const { |
203 _trace_id = id; |
204 _trace_id = id; |
204 } |
205 } |
205 |
206 |
|
207 bool is_excluded() const { |
|
208 return _excluded; |
|
209 } |
|
210 |
206 bool is_dead() const { |
211 bool is_dead() const { |
207 return _dead; |
212 return _dead; |
208 } |
213 } |
209 |
214 |
210 bool has_thread_blob() const; |
215 bool has_thread_blob() const; |
211 void set_thread_blob(const JfrBlobHandle& handle); |
216 void set_thread_blob(const JfrBlobHandle& handle); |
212 const JfrBlobHandle& thread_blob() const; |
217 const JfrBlobHandle& thread_blob() const; |
|
218 |
|
219 static void exclude(Thread* t); |
|
220 static void include(Thread* t); |
213 |
221 |
214 static void on_start(Thread* t); |
222 static void on_start(Thread* t); |
215 static void on_exit(Thread* t); |
223 static void on_exit(Thread* t); |
216 |
224 |
217 // Code generation |
225 // Code generation |