> When creating a new array of type T, the type T should not be initialized. 
> This is the case for all types (classes and value classes). The reason that 
> this code was added is probably because in a previous Valhalla model, the VM 
> filled in a default value for each flattened array element, which 
> necessitated the initialization of the class.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Johan Sjölen has updated the pull request incrementally with one additional 
commit since the last revision:

  Document the method

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/32193/files
  - new: https://git.openjdk.org/jdk/pull/32193/files/40230f5c..2f119e94

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32193&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32193&range=00-01

  Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/32193.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32193/head:pull/32193

PR: https://git.openjdk.org/jdk/pull/32193

Reply via email to