<div dir="ltr">Hi,<div><br></div><div>java.lang.Shutdown uses a static nested Lock class for synchronization. This seems trivially replaceable with new Object() which would reduce class loading during shutdown.</div><div><br></div><div>java.lang.ref.ReferenceQueue uses a similar idiom and could potentially be cleaned up as well.</div><div><br></div><div>I'd be happy to contribute a PR for this cleanup. Worth pursuing? Thoughts?</div><div><br></div><div>Cheers,</div><div>Eirik. </div></div>