[jdk17u-dev] RFR: 8312065: Socket.connect does not timeout when profiling [v2]

Long Yang duke at openjdk.org
Wed Sep 6 02:36:14 UTC 2023


On Tue, 5 Sep 2023 11:21:43 GMT, Andrei Pangin <apangin at openjdk.org> wrote:

>> Long Yang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   use libNativeThread to get OS thread id and send signal
>
> test/jdk/java/net/Socket/B8312065.java line 72:
> 
>> 70:         t.start();
>> 71: 
>> 72:         latch.await();
> 
> Why is `CountDownLatch` needed here? It does not seem to add any new guarantees.

It's really useless and has been deleted.

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

PR Review Comment: https://git.openjdk.org/jdk17u-dev/pull/1639#discussion_r1316635772


More information about the jdk-updates-dev mailing list