8021353: Event based tracing is missing thread exit
Reviewed-by: allwin, acorn, dcubed, dholmes, egahlin
This commit is contained in:
parent
dc7c7c5e13
commit
dc42cb136d
@ -333,6 +333,8 @@ Thread::~Thread() {
|
||||
// Reclaim the objectmonitors from the omFreeList of the moribund thread.
|
||||
ObjectSynchronizer::omFlush (this) ;
|
||||
|
||||
EVENT_THREAD_DESTRUCT(this);
|
||||
|
||||
// stack_base can be NULL if the thread is never started or exited before
|
||||
// record_stack_base_and_size called. Although, we would like to ensure
|
||||
// that all started threads do call record_stack_base_and_size(), there is
|
||||
|
@ -26,6 +26,7 @@
|
||||
#define SHARE_VM_TRACE_TRACE_MACRO_HPP
|
||||
|
||||
#define EVENT_THREAD_EXIT(thread)
|
||||
#define EVENT_THREAD_DESTRUCT(thread)
|
||||
|
||||
#define TRACE_INIT_ID(k)
|
||||
#define TRACE_DATA TraceThreadData
|
||||
|
Loading…
x
Reference in New Issue
Block a user