On Thu, 20 Aug 2026 01:46:26 GMT, David Holmes <[email protected]> wrote:
>> Johan Sjölen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> No lib + document > > src/java.base/share/classes/jdk/internal/misc/Unsafe.java line 318: > >> 316: /** >> 317: * Returns an array compatible with the requested layout layout >> kind. >> 318: * The returned array does not necessarily contain initialized data. > > What does "not necessarily" mean here? What controls/affects whether or not > the array elements are (default?) initialized? "Not necessarily" means "you must not assume that the data is initialized". The current implementation ensures that the returned array conforms to the requested layout, and throws otherwise. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32193#discussion_r3819590197
