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

Reduce download size by removing BoxBlur and ZoomRadialBlur from Decora builds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx1.1
    • fx1.0.1
    • javafx

      Earlier in the Decora development cycle Alexey added BoxBlur and ZoomRadialBlur implementations,
      but these were never exposed at the FX level. Since they are not currently used, we can reduce the
      overall FX download size by leaving them out of the default builds.

      On Mac OS X...

      Before:
      -rw-r--r-- 1 campbell staff 282969 Jan 9 09:52 Decora-JOGL.jar
      -rw-r--r-- 1 campbell staff 29902 Jan 9 09:52 Decora-JOGL.jar.pack.gz
      -rw-r--r-- 1 campbell staff 197927 Jan 9 09:52 Decora-Runtime.jar
      -rw-r--r-- 1 campbell staff 38238 Jan 9 09:52 Decora-Runtime.jar.pack.gz
      -rw-r--r-- 1 campbell staff 53450 Jan 9 09:52 Decora-SSE-Native.jar
      -rw-r--r-- 1 campbell staff 53160 Jan 9 09:52 Decora-SSE-Native.jar.pack.gz
      -rw-r--r-- 1 campbell staff 75447 Jan 9 09:52 Decora-SSE.jar
      -rw-r--r-- 1 campbell staff 8302 Jan 9 09:52 Decora-SSE.jar.pack.gz
      -rw-r--r-- 1 campbell staff 205076 Jan 9 09:52 libDecora-SSE.jnilib
      -rw-r--r-- 1 campbell staff 503863 Jan 9 09:52 Scenario.jar
      -rw-r--r-- 1 campbell staff 120607 Jan 9 09:52 Scenario.jar.pack.gz

      282969 + 53450 + 75447 + 503863
      non-pack200 total: 915729

      29902 + 53160 + 8302 + 120607
      pack200 total: 211971

      After:
      -rw-r--r-- 1 campbell staff 203998 Jan 9 09:42 Decora-JOGL.jar
      -rw-r--r-- 1 campbell staff 25052 Jan 9 09:42 Decora-JOGL.jar.pack.gz
      -rw-r--r-- 1 campbell staff 191475 Jan 9 09:42 Decora-Runtime.jar
      -rw-r--r-- 1 campbell staff 37005 Jan 9 09:42 Decora-Runtime.jar.pack.gz
      -rw-r--r-- 1 campbell staff 50353 Jan 9 09:42 Decora-SSE-Native.jar
      -rw-r--r-- 1 campbell staff 50014 Jan 9 09:42 Decora-SSE-Native.jar.pack.gz
      -rw-r--r-- 1 campbell staff 71007 Jan 9 09:42 Decora-SSE.jar
      -rw-r--r-- 1 campbell staff 7671 Jan 9 09:42 Decora-SSE.jar.pack.gz
      -rw-r--r-- 1 campbell staff 192604 Jan 9 09:42 libDecora-SSE.jnilib
      -rw-r--r-- 1 campbell staff 497383 Jan 9 09:54 Scenario.jar
      -rw-r--r-- 1 campbell staff 119587 Jan 9 09:54 Scenario.jar.pack.gz

      203998 + 50353 + 71007 + 497383
      non-pack200 total: 822741

      25052 + 50014 + 7671 + 119587
      pack200 total: 202324

      For the non-pack200 versions, this saves about 95k, for pack200 versions it saves 9k.

            campbell Christopher Campbell (Inactive)
            campbell Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: