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

Speedup creation of nio.zipfs.ZipPath + performance regression from JDK-8061777

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • None
    • core-libs
    • 9

      Since bug JDK-8061777 there is a performance regression for non-UTF-8 charsets.
      This could be additionally painful when the creation of ZipPaths becomes looped by ZipFileSystem#iteratorOf().
      At least, for single-byte charsets, the former performance could be regained simply by replacing ZipCoder.isUtf8 by something like ZipCoder.isSingleByte.
      Further more improvements are possible, please follow: http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-May/041559.html

      Furthermore:
      - consider subclassing ZipCoder from j.n.c.Charset
      - consider benefit from bug JDK-6695386

            sherman Xueming Shen
            ulfzibis Ulf Zibis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: