-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b20
By invoking the ObjectMethods::bootstrap method exactly we avoid type checking wrappers around the invocation. This reduces one-off overheads of spinning up such methods.
A recent regression (23-b13) cause a record hashCode to be generated on regular startup in my locale. Specializing this invoke in BootstrapMethodInvoker reduces overhead by 5.5ms on one startup test, with roughly less than 270k bytecode executed.
While not a complete fix to the regression, this is a good enhancement to lower bootstrap overheads associated with record use.
A recent regression (23-b13) cause a record hashCode to be generated on regular startup in my locale. Specializing this invoke in BootstrapMethodInvoker reduces overhead by 5.5ms on one startup test, with roughly less than 270k bytecode executed.
While not a complete fix to the regression, this is a good enhancement to lower bootstrap overheads associated with record use.