On Sat, 27 May 2023 14:21:28 GMT, Alan Bateman wrote:
> This looks okay. Have you checked the other usages of
> ReleasePrimitiveArrayCritical (e.g. libzip) see if they need the copy back
> when releasing?
I can immediately see code in `Java_java_util_zip_Inflater_inflateBytesBytes`
that
On Thu, 26 Jan 2023 06:46:16 GMT, Glavo wrote:
> I checked the `java.base` module, and all the `Collection#toArray()` method
> of collections be implemented correctly.
>
> Their return values can be trusted, so many unnecessary array duplication can
> be eliminated.
This pull request has
> In Vector API Java level, vector mask is represented as a boolean array with
> 0x00/0x01 (8 bits of each element) as values, aka in-memory format. When it
> is loaded into vector register, e.g. Neon, the in-memory format will be
> converted to in-register format with 0/-1 value for each lane
On Sat, 27 May 2023 21:04:51 GMT, Joe Darcy wrote:
> Straightforward doc refactoring to use snippets.
src/java.base/share/classes/java/lang/Class.java line 426:
> 424: * {@snippet lang="java" :
> 425: * Class.forName("Foo", true, this.getClass().getClassLoader())
> 426: * }