Mercurial > hg > truffle
diff src/share/vm/runtime/thread.cpp @ 12205:623d923529df
8021353: Event based tracing is missing thread exit
Reviewed-by: allwin, acorn, dcubed, dholmes, egahlin
author | mgronlun |
---|---|
date | Fri, 13 Sep 2013 17:47:00 +0200 |
parents | f92b82d454fa |
children | b89a1a870965 |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp Thu Sep 12 15:53:49 2013 +0400 +++ b/src/share/vm/runtime/thread.cpp Fri Sep 13 17:47:00 2013 +0200 @@ -333,6 +333,8 @@ // 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