JDK-8344882 : (bf) Temporary direct buffers should not count against the upper limit on direct buffer memory
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-11-22
  • Updated: 2025-05-29
  • Resolved: 2024-11-27
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 24
24 b26Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8345611 :  
Description
The failures reported in JDK-8342849 and JDK-8340728 are at bottom due to temporary direct buffers being allocated before the respective tests are actually run. This unpredictability makes the fix for JDK-8340728 ugly and that for JDK-8342849 difficult if not impossible. Not counting the memory used by internal temporary direct buffers toward the direct buffer memory upper limit would remove this uncertainty.
Comments
Label "noreg-other" removed due to addition of test in JDK-8345421.
11-12-2024

Changeset: 0312694c Branch: master Author: Brian Burkhalter <bpb@openjdk.org> Date: 2024-11-27 16:14:03 +0000 URL: https://git.openjdk.org/jdk/commit/0312694c46b4fb3455cde2e4d1f8746ad4df8548
27-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22339 Date: 2024-11-22 23:44:11 +0000
22-11-2024