This commit is contained in:
Jesper Wilhelmsson 2018-08-29 19:48:28 +02:00
commit d40735db17
25 changed files with 1004 additions and 130 deletions

View file

@ -3340,11 +3340,6 @@ CompilerThread::CompilerThread(CompileQueue* queue,
}
CompilerThread::~CompilerThread() {
// Free buffer blob, if allocated
if (get_buffer_blob() != NULL) {
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::free(get_buffer_blob());
}
// Delete objects which were allocated on heap.
delete _counters;
}