RFR: 8308804: Improve UUID.randomUUID performance with bulk/scalable PRNG access [v2]
Aleksey Shipilev
shade at openjdk.org
Fri May 26 11:43:15 UTC 2023
On Fri, 26 May 2023 11:24:10 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Aleksey Shipilev has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Handle privileged properties
>> - Use ByteArray to convert. Do version/variant preparations straight on locals. Move init out of optimistic lock section.
>
> src/java.base/share/classes/java/util/UUID.java line 144:
>
>> 142: BUFS = new Buffer[BUFS_COUNT];
>> 143: } catch (Exception e) {
>> 144: throw new InternalError(e);
>
> Would it be better to throw `ExceptionInInitializerError` here?
Sure, see new commit.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14135#discussion_r1206653656
More information about the core-libs-dev
mailing list