[lworld] RFR: 8374882: [lworld] Update hierarchies in oopsHierarchy.hpp

Paul Hübner phubner at openjdk.org
Fri Jan 9 12:14:37 UTC 2026


On Fri, 9 Jan 2026 12:11:22 GMT, Frederic Parain <fparain at openjdk.org> wrote:

>> Hello,
>> 
>> The hierarchies in oopsHierarchy.hpp are not up to date with the actual class hierarchies in the implementation. I've refered to these a couple of times and stumble on the fact that they are not accurate.
>> 
>> I've tested that this builds locally.
>
> src/hotspot/share/oops/oopsHierarchy.hpp line 49:
> 
>> 47: typedef class     objArrayOopDesc*            objArrayOop;
>> 48: typedef class       flatArrayOopDesc*           flatArrayOop;
>> 49: typedef class     refArrayOopDesc*            refArrayOop;
> 
> Shouldn't refArrayOopDesc be aligned with flatArrayOopDesc?

I don't think so:
`class refArrayOopDesc : public arrayOopDesc {`

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1874#discussion_r2675970685


More information about the valhalla-dev mailing list