RFR: JDK-8310502 : Optimization for j.l.Long.fastUUID() [v7]
Roger Riggs
rriggs at openjdk.org
Thu Jun 22 01:06:03 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
fyi, the title of this PR need to match exactly the title of the bug [JDK-8310502](https://bugs.openjdk.org/browse/JDK-8310502).
The mismatch is an Integration blocker. (See the comment in the description).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14578#issuecomment-1601874909
More information about the core-libs-dev
mailing list