On Wed, 6 May 2026 08:51:44 GMT, Tobias Hartmann <[email protected]> wrote:
>> Tobias Hartmann has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Update src/hotspot/share/opto/type.cpp
>
> src/hotspot/share/opto/type.cpp line 330:
>
>> 328: guarantee(require_constant ||
>> oop_constant->should_be_constant(), "con_type must get computed");
>> 329: con_type = TypeOopPtr::make_from_constant(oop_constant,
>> require_constant);
>> 330: if (is_autobox_cache) {
>
> Suggestion:
>
> if (Compile::current()->eliminate_boxing() && is_autobox_cache) {
This should be reverted to mainline.
-------------
PR Review Comment:
https://git.openjdk.org/valhalla/pull/2390#discussion_r3194136370