RFR: 8337167: StringSize deduplication [v2]

Shaojin Wen duke at openjdk.org
Thu Jul 25 15:10:33 UTC 2024


On Thu, 25 Jul 2024 14:48:29 GMT, Roger Riggs <rriggs at 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 The risk of removing stringSize(int) is not low, and the performance may be different on different platforms. If we want to remove it, it should be a separate PR, with extensive testing and extensive discussion before doing it.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20322#issuecomment-2250622673


More information about the core-libs-dev mailing list