JDK-8318089 : Class space not marked as such with NMT when CDS is off
Type:Bug
Component:hotspot
Sub-Component:runtime
Affected Version:17,21,22
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2023-10-13
Updated:2024-08-16
Resolved:2023-10-19
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.
If Xshare is off, we don't correctly register class space with NMT.
Comments
Fix Request (17u-dev): Same as for jdk21u.
09-08-2024
[jdk17u-fix-request] Approval Request from Andreas Steiner
09-08-2024
A pull request was submitted for review.
Branch: master
URL: https://git.openjdk.org/jdk17u-dev/pull/2794
Date: 2024-08-09 12:06:26 +0000
09-08-2024
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk21u/pull/273
Date: 2023-10-20 08:17:19 +0000
23-10-2023
Fix Request (jdk21):
This fixes a display problem in NMT, where the class space size is incorrectly shown as "unknown" memory. It applies cleanly and is very low-risk.
Tests done: GHA (all green), manual
23-10-2023
Yes, affects 17 too, just tested it.
20-10-2023
If this is really fixed by JDK-8243535, as code comment says, does this issue also affect 17?