Mercurial > hg > truffle
comparison src/cpu/x86/vm/methodHandles_x86.cpp @ 3905:c26de9aef2ed
7071307: MethodHandle bimorphic inlining should consider the frequency
Reviewed-by: twisti, roland, kvn, iveresov
author | never |
---|---|
date | Fri, 02 Sep 2011 20:58:21 -0700 |
parents | a19c671188cb |
children | c565834fb592 |
comparison
equal
deleted
inserted
replaced
3902:11a4af030e4b | 3905:c26de9aef2ed |
---|---|
1340 __ verify_oop(rcx_recv); | 1340 __ verify_oop(rcx_recv); |
1341 __ jump_to_method_handle_entry(rcx_recv, rdx_temp); | 1341 __ jump_to_method_handle_entry(rcx_recv, rdx_temp); |
1342 } | 1342 } |
1343 } | 1343 } |
1344 break; | 1344 break; |
1345 | |
1346 case _adapter_opt_profiling: | |
1347 if (java_lang_invoke_CountingMethodHandle::vmcount_offset_in_bytes() != 0) { | |
1348 Address rcx_mh_vmcount(rcx_recv, java_lang_invoke_CountingMethodHandle::vmcount_offset_in_bytes()); | |
1349 __ incrementl(rcx_mh_vmcount); | |
1350 } | |
1351 // fall through | |
1345 | 1352 |
1346 case _adapter_retype_only: | 1353 case _adapter_retype_only: |
1347 case _adapter_retype_raw: | 1354 case _adapter_retype_raw: |
1348 // immediately jump to the next MH layer: | 1355 // immediately jump to the next MH layer: |
1349 __ load_heap_oop(rcx_recv, rcx_mh_vmtarget); | 1356 __ load_heap_oop(rcx_recv, rcx_mh_vmtarget); |