RFR: 8333833: UUID toString removes the use of ByteArrayLittleEndian [v3]

Glavo duke at openjdk.org
Sun Jun 9 04:30:23 UTC 2024


On Sun, 9 Jun 2024 01:16:49 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> You are right, ByteArray and ByteArrayLittleEndian have good performance after removing Unsafe. This is similar to the previous version of java.io.Bits

Do you have evidence that `VarHandle` affects startup time? If there is good evidence to support this, I would go ahead and rewrite https://github.com/openjdk/jdk/pull/14636.

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

PR Comment: https://git.openjdk.org/jdk/pull/19610#issuecomment-2156311883


More information about the core-libs-dev mailing list