RFR: 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning [v22]

Patricio Chilano Mateo pchilanomate at openjdk.org
Fri Nov 1 18:24:53 UTC 2024


On Thu, 31 Oct 2024 20:28:06 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> src/java.base/share/classes/sun/security/ssl/X509TrustManagerImpl.java line 57:
>> 
>>> 55:     static {
>>> 56:         try {
>>> 57:             MethodHandles.lookup().ensureInitialized(AnchorCertificates.class);
>> 
>> Why is this needed?  A comment would help.
>
> That's probably a good idea.  It’s caused by pinning due to the sun.security.util.AnchorCertificates’s class initializer, some of the http client tests are running into this. Once monitors are out of the way then class initializers, both executing, and waiting for, will be a priority.

Added comment.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21565#discussion_r1826153929


More information about the core-libs-dev mailing list