On Mon, 30 Mar 2026 20:42:53 GMT, Ivan Walulya <[email protected]> wrote:

>> Thomas Schatzl has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   * make conditions in assert match, from walulyai
>
> test/hotspot/jtreg/gc/g1/TestEagerReclaimHumongousRegions.java line 248:
> 
>> 246:           case 0: return new int[SIZE];
>> 247:           case 1: return new Object[SIZE];
>> 248:           case 2: return new IntValue[SIZE];
> 
> Suggestion:
> 
>           case 2: return new Integer[SIZE];
> 
> 
> then we don't need `value class IntValue`

I wanted to make the use of a value type explicit.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2255#discussion_r3014181111

Reply via email to