JDK-8254599 : CDS dump should not warn about hidden classes
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-10-12
  • Updated: 2020-10-15
  • Resolved: 2020-10-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 16
16 b20Fixed
Related Reports
Relates :  
Description
Since JDK-8247536, hidden classes are created in an normal operations while running "java -Xshare:dump". These warning are confusing and should be changed to the debug log level instead.

$ java -Xshare:dump
[0.498s][warning][cds] Skipping jdk/internal/misc/CDS$$Lambda$1+0x800000001: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$MH+0x800000002: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x80000000b: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x800000007: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x800000009: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x800000016: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x800000011: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x80000000d: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/GenerateJLIClassesHelper$$Lambda$2+0x800000003: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/GenerateJLIClassesHelper$$Lambda$3+0x800000005: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x800000004: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x800000035: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x80000003d: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x80000003b: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x800000038: Hidden class
[0.498s][warning][cds] Skipping java/lang/invoke/LambdaForm$DMH+0x800000060: Hidden class

Comments
Changeset: e49232a0 Author: Yumin Qi <minqi@openjdk.org> Date: 2020-10-13 04:05:21 +0000 URL: https://git.openjdk.java.net/jdk/commit/e49232a0
13-10-2020