On Fri, 9 Oct 2026 00:42:03 GMT, Yasumasa Suenaga <[email protected]> wrote:

>> Also, do we have a test coverage for the cases above? It is worth to 
>> double-check.
>
> `flatArrayOopDesc` in HotSpot inherits `objArrayOopDesc`, so I think SA 
> should follow it. Then `isObjArray()` keeps to return `true` in `FlatArray`.
> 
> I added both `getOopHandleAt()` and `getObjAt()` in new commit. I haven't 
> seen any failures in jtreg tests. They include oop inspection to scan array 
> elements. I'm not sure they are enough, but I believe it passed current 
> criteria.

Thank you for the updates. This sounds reasonable. I still wonder if we have 
test coverage for the `instanceof ObjArray` cases above.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32849#discussion_r4226560326

Reply via email to