On Tue, 19 Aug 2025 02:07:59 GMT, Roger Riggs <[email protected]> wrote:

> The official list of migrated classes is in 
> `make/modules/java.base/gensrc/GensrcValueClasses.gmk`.
> How are all these copies of the list of files kept in sync?

This is a temporary measure to make up for classfiles that don't have a 
`LoadedDescriptors` attribute yet.  Those classes - in user class loaders - 
won't "know" at link time that the box classes have migrated to be values and 
therefore won't benefit from the calling convention optimizations.  This PR 
lets us make those classloaders aware of the changed nature of the boxing 
classes early and ensures they get the benefits of Valhalla.  The other 
migrated classes are included because "why not" and so keeping the lists in 
sync isn't a priority.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1520#issuecomment-3200789475

Reply via email to