src/hotspot/share/runtime/thread.cpp
changeset 50912 0d6ab24b6ad9
parent 50858 2d3e99a72541
child 51026 510ac4c08610
equal deleted inserted replaced
50911:c1e56891d768 50912:0d6ab24b6ad9
  3296   _ideal_graph_printer = NULL;
  3296   _ideal_graph_printer = NULL;
  3297 #endif
  3297 #endif
  3298 }
  3298 }
  3299 
  3299 
  3300 CompilerThread::~CompilerThread() {
  3300 CompilerThread::~CompilerThread() {
       
  3301   // Free buffer blob, if allocated
       
  3302   if (get_buffer_blob() != NULL) {
       
  3303     MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
       
  3304     CodeCache::free(get_buffer_blob());
       
  3305   }
  3301   // Delete objects which were allocated on heap.
  3306   // Delete objects which were allocated on heap.
  3302   delete _counters;
  3307   delete _counters;
  3303 }
  3308 }
  3304 
  3309 
  3305 bool CompilerThread::can_call_java() const {
  3310 bool CompilerThread::can_call_java() const {