hotspot/src/cpu/sparc/vm/methodHandles_sparc.cpp
changeset 10514 e229a19078cf
parent 10261 8463abc614bc
child 10983 9ab65f4cec18
equal deleted inserted replaced
10511:22b3580bd8bb 10514:e229a19078cf
  1259         __ verify_oop(G3_method_handle);
  1259         __ verify_oop(G3_method_handle);
  1260         __ jump_to_method_handle_entry(G3_method_handle, O1_scratch);
  1260         __ jump_to_method_handle_entry(G3_method_handle, O1_scratch);
  1261       }
  1261       }
  1262     }
  1262     }
  1263     break;
  1263     break;
       
  1264 
       
  1265   case _adapter_opt_profiling:
       
  1266     if (java_lang_invoke_CountingMethodHandle::vmcount_offset_in_bytes() != 0) {
       
  1267       Address G3_mh_vmcount(G3_method_handle, java_lang_invoke_CountingMethodHandle::vmcount_offset_in_bytes());
       
  1268       __ ld(G3_mh_vmcount, O1_scratch);
       
  1269       __ add(O1_scratch, 1, O1_scratch);
       
  1270       __ st(O1_scratch, G3_mh_vmcount);
       
  1271     }
       
  1272     // fall through
  1264 
  1273 
  1265   case _adapter_retype_only:
  1274   case _adapter_retype_only:
  1266   case _adapter_retype_raw:
  1275   case _adapter_retype_raw:
  1267     // Immediately jump to the next MH layer:
  1276     // Immediately jump to the next MH layer:
  1268     __ load_heap_oop(G3_mh_vmtarget, G3_method_handle);
  1277     __ load_heap_oop(G3_mh_vmtarget, G3_method_handle);