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

Order resource plugin should support putting resources at the end

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9.1
    • tools
    • generic
    • generic

      Some things should never or only rarely be loaded during runtime and we could win some small cold startup and footprint characteristics by putting them at the end of the jimage archive.

      For example, --order-resources could take a suffix-patterns that will be separated from the default argument by the parser:

      --order-resources=@classlist,/java.base/java/*:suffix-patterns=/jdk.jlink/*,/java.corba/*,*module-info.class*

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: