hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 27880 afb974a04396
parent 27420 04e6f914cce1
child 27883 3179632c8f66
equal deleted inserted replaced
27879:419385282044 27880:afb974a04396
  2082     }
  2082     }
  2083   }
  2083   }
  2084 
  2084 
  2085   ~AdapterFingerPrint() {
  2085   ~AdapterFingerPrint() {
  2086     if (_length > 0) {
  2086     if (_length > 0) {
  2087       FREE_C_HEAP_ARRAY(int, _value._fingerprint, mtCode);
  2087       FREE_C_HEAP_ARRAY(int, _value._fingerprint);
  2088     }
  2088     }
  2089   }
  2089   }
  2090 
  2090 
  2091   int value(int index) {
  2091   int value(int index) {
  2092     if (_length < 0) {
  2092     if (_length < 0) {
  2489 
  2489 
  2490 
  2490 
  2491 void AdapterHandlerEntry::deallocate() {
  2491 void AdapterHandlerEntry::deallocate() {
  2492   delete _fingerprint;
  2492   delete _fingerprint;
  2493 #ifdef ASSERT
  2493 #ifdef ASSERT
  2494   if (_saved_code) FREE_C_HEAP_ARRAY(unsigned char, _saved_code, mtCode);
  2494   if (_saved_code) FREE_C_HEAP_ARRAY(unsigned char, _saved_code);
  2495 #endif
  2495 #endif
  2496 }
  2496 }
  2497 
  2497 
  2498 
  2498 
  2499 #ifdef ASSERT
  2499 #ifdef ASSERT
  2900 
  2900 
  2901   return buf;
  2901   return buf;
  2902 JRT_END
  2902 JRT_END
  2903 
  2903 
  2904 JRT_LEAF(void, SharedRuntime::OSR_migration_end( intptr_t* buf) )
  2904 JRT_LEAF(void, SharedRuntime::OSR_migration_end( intptr_t* buf) )
  2905   FREE_C_HEAP_ARRAY(intptr_t, buf, mtCode);
  2905   FREE_C_HEAP_ARRAY(intptr_t, buf);
  2906 JRT_END
  2906 JRT_END
  2907 
  2907 
  2908 bool AdapterHandlerLibrary::contains(CodeBlob* b) {
  2908 bool AdapterHandlerLibrary::contains(CodeBlob* b) {
  2909   AdapterHandlerTableIterator iter(_adapters);
  2909   AdapterHandlerTableIterator iter(_adapters);
  2910   while (iter.has_next()) {
  2910   while (iter.has_next()) {