On Tue, 29 Apr 2025 18:32:12 GMT, kabutz <d...@openjdk.org> wrote: > What is the potential downside of adding the static block to make sure the > class is loaded?
LockSupport is part of the standard API, we can't force every usage to preload this class. So if we have to change anything then it would be better to do it in one place, maybe System.initPhase3. But I think we first need to page in some of the details from 10 years ago. ------------- PR Comment: https://git.openjdk.org/jdk/pull/24952#issuecomment-2839909510