RFR: JDK-8310502 : Optimization for j.l.Long.fastUUID() [v26]

温绍锦 duke at openjdk.org
Thu Jun 29 06:17:12 UTC 2023


On Tue, 27 Jun 2023 16:12:50 GMT, 温绍锦 <duke at openjdk.org> wrote:

>>> Sadly, jdk.internal.util is exported to other modules so it does need to be looked at from an integrity perspective.
>> 
>> This is indeed a problem to consider.
>> 
>> Maybe we can move this array back into `HexDigits`. Then we create a new package `jdk.internal.digits` and move `Digits`, `DecimalDigits`, `HexDigits`, `OctalDigits` all into it.
>
> Hex256 has been moved to jdk.internal.digits, jdk.internal.digits is not exported.

now it's reuse the field of java.util.HexDigits#DIGITS

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14578#discussion_r1246156442


More information about the core-libs-dev mailing list