src/hotspot/cpu/x86/compiledIC_x86.cpp
changeset 51996 84743156e780
parent 48807 fd8ccb37fce9
child 52384 d6dc479bcdd3
equal deleted inserted replaced
51995:f7babf9d1592 51996:84743156e780
   196 #ifndef PRODUCT
   196 #ifndef PRODUCT
   197 
   197 
   198 void CompiledDirectStaticCall::verify() {
   198 void CompiledDirectStaticCall::verify() {
   199   // Verify call.
   199   // Verify call.
   200   _call->verify();
   200   _call->verify();
   201   if (os::is_MP()) {
   201   _call->verify_alignment();
   202     _call->verify_alignment();
       
   203   }
       
   204 
   202 
   205 #ifdef ASSERT
   203 #ifdef ASSERT
   206   CodeBlob *cb = CodeCache::find_blob_unsafe((address) _call);
   204   CodeBlob *cb = CodeCache::find_blob_unsafe((address) _call);
   207   assert(cb && !cb->is_aot(), "CompiledDirectStaticCall cannot be used on AOTCompiledMethod");
   205   assert(cb && !cb->is_aot(), "CompiledDirectStaticCall cannot be used on AOTCompiledMethod");
   208 #endif
   206 #endif