On Thu, 25 Jul 2024 14:48:29 GMT, Roger Riggs <rri...@openjdk.org> wrote:
>> Shaojin Wen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> remove unused Integer.stringSize & Long.stringSize > > What is the performance difference between the long and int versions? > If it is negligible, keep only the long version. @RogerRiggs They will be used in MethodHandle chains or explicit bytecode; having `long` and `int` specific versions simplify the bytecode or MethodHandle we need to prepare for String concatenation. ------------- PR Comment: https://git.openjdk.org/jdk/pull/20322#issuecomment-2250575109