< prev index next >
src/hotspot/share/runtime/thread.cpp
Print this page
rev 49801 : 8198756: Lazy allocation of compiler threads
Reviewed-by: kvn
*** 3358,3367 ****
--- 3358,3372 ----
#ifndef PRODUCT
_ideal_graph_printer = NULL;
#endif
}
+ CompilerThread::~CompilerThread() {
+ // Delete objects which were allocated on heap.
+ delete _counters;
+ }
+
bool CompilerThread::can_call_java() const {
return _compiler != NULL && _compiler->is_jvmci();
}
// Create sweeper thread
< prev index next >