JDK-8253910 : UseCompressedClassPointers depends on UseCompressedOops in vmError.cpp
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-10-01
  • Updated: 2021-03-09
  • Resolved: 2021-01-11
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 16 JDK 17
16.0.1Fixed 17 b05Fixed
Related Reports
Relates :  
Description
There are 2 locations in vmError.cpp

https://github.com/openjdk/jdk/blob/3c4e824aa5fd99337759fa5000f5673ab2430750/src/hotspot/share/utilities/vmError.cpp#L919
https://github.com/openjdk/jdk/blob/3c4e824aa5fd99337759fa5000f5673ab2430750/src/hotspot/share/utilities/vmError.cpp#L1130

where information on compressed classes is only printed if compressed oops are
enabled. After JDK-8241825 both features should be independent.

Comments
Fix Request (16u) This improves hs_errs after JDK 16 change, which might be confusing (compress klass ptrs are enabled, when hs_err is pointing out in only one place in heap info). Patch applies cleanly to 16u, passes tier1 tests.
02-03-2021

Changeset: a03e22bb Author: Aleksey Shipilev <shade@openjdk.org> Date: 2021-01-11 09:42:48 +0000 URL: https://git.openjdk.java.net/jdk/commit/a03e22bb
11-01-2021