Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 12206:b89a1a870965
Merge
author | mgronlun |
---|---|
date | Fri, 13 Sep 2013 19:20:59 +0200 |
parents | 27ffd1c4537b 623d923529df |
children | cc5b40a76049 06ae47d9d088 |
comparison
equal
deleted
inserted
replaced
12204:225cedaf9a4b | 12206:b89a1a870965 |
---|---|
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 |