RFR: 8347009: Speed ​​up parseInt and parseLong [v10]

Raffaello Giulietti rgiulietti at openjdk.org
Wed Feb 5 18:20:18 UTC 2025


On Tue, 28 Jan 2025 19:39:45 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   error message
>
> Ran tier 1-3 for latest commit as of comment. No failure besides a known one in serviceability.

@liach I think that the usage of Unsafe is correct in the context of this PR. Can you have a look?

(Unfortunately, since this code is used early in the VM startup, we can't use safer alternatives like `VarHandle` or `ByteArray`, short of reading the bytes individually with ordinary array access.)

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

PR Comment: https://git.openjdk.org/jdk/pull/22919#issuecomment-2637685876


More information about the core-libs-dev mailing list