JDK-8316060 : test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2023-09-12
  • Updated: 2023-10-23
  • Resolved: 2023-09-13
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 22
22 b15Fixed
Related Reports
Relates :  
Description
The test tries to generate the OOM by filling the whole heap, unfortunately it may fail if the heap is large than 25G.
Comments
[jdk21u-fix-request] Approval Request from Sergey Bylokhov Clean backport. The fix for a test bug.
20-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk21u/pull/270 Date: 2023-10-19 00:50:59 +0000
19-10-2023

Changeset: bd52bbfa Author: Sergey Bylokhov <serb@openjdk.org> Date: 2023-09-13 02:33:03 +0000 URL: https://git.openjdk.org/jdk/commit/bd52bbfa272691caab227d736021362c06449535
13-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15676 Date: 2023-09-12 01:22:06 +0000
12-09-2023