JDK-8206179 : com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java fails with Committed virtual memory size illegal value
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 8,11,12,13,14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-07-02
  • Updated: 2023-08-30
  • Resolved: 2019-07-17
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 11 JDK 13 JDK 14 JDK 8 Other
11.0.8-oracleFixed 13.0.6Fixed 14 b07Fixed 8u361Fixed openjdk8u392Fixed
Related Reports
Relates :  
Description
Test failed in tier5:

java.lang.RuntimeException: Committed virtual memory size illegal value: 6588432384 bytes (MIN = 1; MAX = 5368709120)
	at GetCommittedVirtualMemorySize.main(GetCommittedVirtualMemorySize.java:92)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
	at java.base/java.lang.Thread.run(Thread.java:834)

Comments
Fix request (8u): Backported for parity with Oracle. Change is clean and passes tier1 tests.
09-08-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk8u-dev/pull/352 Date: 2023-08-04 20:45:40 +0000
04-08-2023

The test also fails against JDK 8 Linux Arm64.
18-01-2021

jdk13 backport request I would like to have the patch in openjdk13 as well. The patch applies cleanly.
06-10-2020

jdk11 backport request I would like to have the patch in openjdk11 as well (for better parity with 11.0.8_oracle). The patch applies cleanly.
20-05-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/d2188297c6a2 User: dtitov Date: 2019-07-17 18:25:25 +0000
17-07-2019