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

JarFile stream() and entries() methods need performance enhancement

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Description

      The stream() and entries() methods share the JarEntryIterator which was made multi-release jar aware. That change caused the methods to slow down when processing a jar file that is not multi-release. It has been suggested that we should have two JarEntryIterator implementations, one for multi-release jars and one for regular jars. This issue tracks the performance investigation and any updates that result from it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdrach Steve Drach (Inactive)
              Reporter:
              sdrach Steve Drach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: