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

Frederic Parain fparain at openjdk.org
Fri Jan 9 12:14:36 UTC 2026


On Fri, 9 Jan 2026 10:27:39 GMT, Joel Sikström <jsikstro 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?

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

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


More information about the valhalla-dev mailing list