On Wed, 21 Jun 2023 15:21:45 GMT, Roger Riggs <rri...@openjdk.org> wrote:

> CDS can initialize arrays efficiently. The Long class already uses CDS to 
> initialize the cache of Long values. See the LongCache code for an example of 
> initializing from CDS with a fallback to direct initialization. You could 
> move the HEX256 array to the LongCache holder class and avoid any performance 
> hit on startup.

done

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

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

Reply via email to