src/hotspot/share/runtime/thread.cpp
changeset 51572 d2137bd1e57d
parent 51026 510ac4c08610
child 51577 64331e014bc7
--- a/src/hotspot/share/runtime/thread.cpp	Tue Aug 21 09:25:06 2018 +0200
+++ b/src/hotspot/share/runtime/thread.cpp	Tue Aug 21 17:47:59 2018 +0200
@@ -3298,11 +3298,6 @@
 }
 
 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;
 }