On Thu, 30 Apr 2026 13:21:42 GMT, Tobias Hartmann <[email protected]> wrote:

>> This patch addresses the C1 parts of 
>> [JDK-8350865](https://bugs.openjdk.org/browse/JDK-8350865): [lworld] 
>> Follow-up work from adding support for nullable, flat, atomic arrays / 
>> fields. Comments in-line with the changes.
>> 
>> Thanks,
>> Tobias
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> src/hotspot/share/c1/c1_Instruction.cpp line 293:
> 
>> 291: 
>> 292: ciType* NewObjectArray::exact_type() const {
>> 293:   return ciObjArrayKlass::make(klass());
> 
> Now using the refined type to propagate null-free/atomic/flat properties.

Might be worth to add a comment that we return the refined type.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2380#discussion_r3179800481

Reply via email to