On Thu, 10 Sep 2026 07:09:48 GMT, Serguei Spitsyn <[email protected]> wrote:

>> Yasumasa Suenaga has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Refer ValueFieldLayoutInfo to instantiate flattened object
>
> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/ValueFieldLayoutInfoArray.java
>  line 56:
> 
>> 54: 
>> 55:     public ValueFieldLayoutInfo at(int i) {
>> 56:         var addr = getDataStart().addOffsetTo(i * 
>> getElemType().getSize());
> 
> Q: I wonder if index bounds check is needed here or an assert for safety .

Thanks, I added range check.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32310#discussion_r3976876369

Reply via email to