RFR: 8298470: Short cut java.lang.Object super class loading

David Holmes dholmes at openjdk.org
Sun Dec 18 22:49:51 UTC 2022


On Fri, 16 Dec 2022 13:41:31 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> While investigating another bug, I found doing this simple optimization saves taking out a SystemDictionary_lock, adding and removing a placeholder and some Symbol refcounting.
> Tested with tier1-4.

Looks simple and clean. Have to wonder why this shortcut hasn't always been there?

Thanks.

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

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.org/jdk/pull/11711


More information about the hotspot-runtime-dev mailing list