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

Some hidden classes loaded for regenerating holder classes are not excluded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 18
    • 17, 18
    • hotspot
    • None

      When regenerating holder classes for lambda invoke function, some hidden classes loaded but not excluded from archive:
      When use -Xlog:cds=trace, a simple dynamic dump with HelloWorld shows:
      [3.261s][info ][cds,dynamic] Archiving hidden java.lang.invoke.GenerateJLIClassesHelper$HolderClassBuilder$$Lambda$3/0x0000000801042178
      [3.261s][info ][cds,dynamic] Archiving hidden java.lang.invoke.GenerateJLIClassesHelper$$Lambda$2/0x0000000801041918
      [3.261s][info ][cds,dynamic] Archiving hidden java.lang.invoke.GenerateJLIClassesHelper$$Lambda$1/0x00000008010416c8

            minqi Yumin Qi
            minqi Yumin Qi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: