JDK-8249549 : vmTestbase/gc/memory/Nio/Nio.java assume that no direct memory is allocated by JDK
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-loom
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • Submitted: 2020-07-15
  • Updated: 2024-09-24
  • Resolved: 2021-12-20
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.
Other
repo-loomResolved
Related Reports
Relates :  
Description
Test vmTestbase/gc/memory/Nio/Nio.java
fails if unable to allocate all direct memory.

It assumes all direct memory is available which might be not correct.
Comments
This test is very sensitive to changes in the implementation. I suspect the issue at the time was the console I/O support that is no longer used. The test is passing now so I will close this issue.
20-12-2021

I checked that loom allocate small amount of native memory by default (3 direct buffers). It cause test failure.
15-07-2020