Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
12203:1c6b721a3fbf | 12205:623d923529df |
---|---|
331 | 331 |
332 Thread::~Thread() { | 332 Thread::~Thread() { |
333 // Reclaim the objectmonitors from the omFreeList of the moribund thread. | 333 // Reclaim the objectmonitors from the omFreeList of the moribund thread. |
334 ObjectSynchronizer::omFlush (this) ; | 334 ObjectSynchronizer::omFlush (this) ; |
335 | 335 |
336 EVENT_THREAD_DESTRUCT(this); | |
337 | |
336 // stack_base can be NULL if the thread is never started or exited before | 338 // stack_base can be NULL if the thread is never started or exited before |
337 // record_stack_base_and_size called. Although, we would like to ensure | 339 // record_stack_base_and_size called. Although, we would like to ensure |
338 // that all started threads do call record_stack_base_and_size(), there is | 340 // that all started threads do call record_stack_base_and_size(), there is |
339 // not proper way to enforce that. | 341 // not proper way to enforce that. |
340 #if INCLUDE_NMT | 342 #if INCLUDE_NMT |