On Mon, 17 Nov 2025 14:38:02 GMT, Quan Anh Mai <[email protected]> wrote:

>> Hi,
>> 
>> This PR splits `ciObjArrayKlass` into `ciRefArrayKlass` and 
>> `ciFlatArrayKlass`, aligns the hierarchy with the corresponding types of the 
>> VM.
>> 
>> I also had to fix `GraphKit::cast_to_flat_array`, currently it incorrectly 
>> assumes that the cast is to an exact type, splitting into 
>> `cast_to_flat_array` and `cast_to_flat_array_exact` seems to make it clearer.
>> 
>> Please kindly review, thanks a lot.
>
> Quan Anh Mai has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   can only infer klass if exact

Too bad it seems pretty hard to walk on the thin line right now. I think it is 
better to tighten the type system around arrays first.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1739#issuecomment-3542816500

Reply via email to