This commit is contained in:
Zhengyu Gu 2013-08-30 13:38:45 -04:00
commit 0dee23ad80

View File

@ -925,6 +925,8 @@ void FlatProfiler::record_thread_ticks() {
FlatProfiler::interval_print(); FlatProfiler::interval_print();
FlatProfiler::interval_reset(); FlatProfiler::interval_reset();
} }
FREE_C_HEAP_ARRAY(JavaThread *, threadsList, mtInternal);
} else { } else {
// Couldn't get the threads lock, just record that rather than blocking // Couldn't get the threads lock, just record that rather than blocking
FlatProfiler::threads_lock_ticks += 1; FlatProfiler::threads_lock_ticks += 1;