JDK-7016276 : JSR292 MethodHandle invokeExact needs to be fast
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:hs20,7
Priority:P3
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2011-02-01
Updated:2016-05-06
Resolved:2013-04-12
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
MethodHandle.invoke...() performance needs to be addressed. Please see comments for details.
Checked with Evgeny that SQE is ok with deferring this bug.
Comments
Looking at vm/mlvm/mixed/stress/regression/b6969574/INDIFY_Test.java , I see that the tests for "invokeGeneric" are commented out. This was necessary as we changed the name from MH.invokeGeneric to MH.invoke. The test code should now be modified to include the original tests under the new name ('invoke').
The name 'invoke' was finalized in JDK 7 FCS and is standard in JSR 292, so it would be reasonable to fix in both JDK 7 and JDK 8 test bases.
How many VM tests are affected by the name change like this? They should all be found and fixed.