Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8254599

CDS dump should not warn about hidden classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b20

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              minqi Yumin Qi (Inactive)
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: