JDK-8294375 : test/jdk/java/nio/channels/vthread/BlockingChannelOps.java is slow
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-26
  • Updated: 2022-10-03
  • Resolved: 2022-09-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 masterFixed
Related Reports
Relates :  
Relates :  
Description
The test takes close to 120s as many of the tests in file have delays to improve the chances that an operated has blocked. The test can be improved to poll the thread state and avoid the delays.

test/jdk/java/net/vthread/BlockingSocketOps.java can also be improved the same way.
Comments
Changeset: 37f83b9b Author: Alan Bateman <alanb@openjdk.org> Date: 2022-09-28 13:10:43 +0000 URL: https://git.openjdk.org/jdk/commit/37f83b9b8e007cd1153502540e9b1bf3cc713646
28-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10427 Date: 2022-09-26 15:35:28 +0000
26-09-2022