RFR: JDK-8310502 : Optimization for j.l.Long.fastUUID() [v7]
Roger Riggs
rriggs at openjdk.org
Thu Jun 22 01:19:10 UTC 2023
On Thu, 22 Jun 2023 00:13:06 GMT, 温绍锦 <duke at openjdk.org> wrote:
>> By optimizing the implementation of java.lang.Long#fastUUID, the performance of the java.util.UUID#toString method can be significantly improved.
>>
>> The following are the test results of JMH:
>>
>> Benchmark Mode Cnt Score Error Units
>> UUIDUtilsBenchmark.new thrpt 5 92676.550 ± 292.213 ops/ms
>> UUIDUtilsBenchmark.original thrpt 5 37040.165 ± 1023.532 ops/ms
>
> 温绍锦 has updated the pull request incrementally with one additional commit since the last revision:
>
> move HEX256 to LongCache
The Bots have removed the warning so the titles match.
Please wait 24hrs to integrate to give anyone who has commented a chance to review and approve.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14578#issuecomment-1601884222
More information about the core-libs-dev
mailing list