Mercurial > hg > truffle
changeset 12206:b89a1a870965
Merge
author | mgronlun |
---|---|
date | Fri, 13 Sep 2013 19:20:59 +0200 |
parents | 225cedaf9a4b (current diff) 623d923529df (diff) |
children | b135b600a66c |
files | src/share/vm/runtime/thread.cpp |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp Fri Sep 13 10:34:15 2013 -0400 +++ b/src/share/vm/runtime/thread.cpp Fri Sep 13 19:20:59 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
--- a/src/share/vm/trace/traceMacros.hpp Fri Sep 13 10:34:15 2013 -0400 +++ b/src/share/vm/trace/traceMacros.hpp Fri Sep 13 19:20:59 2013 +0200 @@ -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