-
Enhancement
-
Resolution: Fixed
-
P3
-
8
-
None
-
b115
-
generic
-
generic
Function.prototype.apply is the most used builtin function in Octane according to JDK-8025964. It has some potential for optimization.
- The generic methodhandle is currently created for each invocation, which may involve creation of MethodType or MethodHandle instances.
- The parameter-spreading case statement does not support enough parameters (this may become obsolete as MethodHandle.invokeWithArguments() becomes more optimized)
- The generic methodhandle is currently created for each invocation, which may involve creation of MethodType or MethodHandle instances.
- The parameter-spreading case statement does not support enough parameters (this may become obsolete as MethodHandle.invokeWithArguments() becomes more optimized)