RFR: 8336267: Method and Constructor signature parsing can be shared on the root object
Chen Liang
liach at openjdk.org
Mon Aug 12 19:18:32 UTC 2024
On Mon, 15 Jul 2024 04:05:55 GMT, Chen Liang <liach at openjdk.org> wrote:
> A straightforward optimization, to share the signature parsing of method, constructor, and field between the root and the copied objects, like how method handle accessors are shared.
Yep, there's #19281 exactly for that purpose: https://github.com/openjdk/jdk/pull/19281/files#diff-5106bd8a6cf3197be7eaee467983c8992981a615bedb66efa50dd97c60cb0041 Uses `volatile @Stable` instead (or just `StableValue` once #19625 is ready)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20179#issuecomment-2284736868
More information about the core-libs-dev
mailing list