equal
deleted
inserted
replaced
177 |
177 |
178 ByteSize JfrThreadLocal::java_event_writer_offset() { |
178 ByteSize JfrThreadLocal::java_event_writer_offset() { |
179 return in_ByteSize(offset_of(JfrThreadLocal, _java_event_writer)); |
179 return in_ByteSize(offset_of(JfrThreadLocal, _java_event_writer)); |
180 } |
180 } |
181 |
181 |
182 void JfrThreadLocal::exclude(Thread* t) { |
182 void JfrThreadLocal::exclude(const Thread* t) { |
183 assert(t != NULL, "invariant"); |
183 assert(t != NULL, "invariant"); |
184 t->jfr_thread_local()->_excluded = true; |
184 t->jfr_thread_local()->_excluded = true; |
185 } |
185 } |
186 |
186 |
187 void JfrThreadLocal::include(Thread* t) { |
187 void JfrThreadLocal::include(const Thread* t) { |
188 assert(t != NULL, "invariant"); |
188 assert(t != NULL, "invariant"); |
189 t->jfr_thread_local()->_excluded = false; |
189 t->jfr_thread_local()->_excluded = false; |
190 } |
190 } |
191 |
191 |
192 u4 JfrThreadLocal::stackdepth() const { |
192 u4 JfrThreadLocal::stackdepth() const { |