[lworld] RFR: 8281116: [lworld] Adding Preload attribute support

Harold Seigel hseigel at openjdk.java.net
Wed Feb 2 14:14:35 UTC 2022


On Wed, 2 Feb 2022 13:12:19 GMT, Frederic Parain <fparain at openjdk.org> wrote:

> Please review this changeset adding support for the Preload attribute.
> It includes a logging feature to track and diagnose those optimistic class loading.
> 
> Tested with Mach5 tier1.
> 
> Thank you,
> 
> Fred

src/hotspot/share/oops/instanceKlass.hpp line 291:

> 289:     _misc_has_preload_attribute               = 1 << 23  // class has a Preload attribute
> 290:   };
> 291: 

Is the _misc_has_preload_attribute flag needed, or can the code just check if _preload_classes equals Null?

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

PR: https://git.openjdk.java.net/valhalla/pull/623



More information about the valhalla-dev mailing list