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

Build libjdwp with SIZE optimization

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 25
    • core-svc
    • None
    • generic
    • generic

      The libjdwp is currently built with LOW optimization level, it could be built with SIZE optimization to lower the lib size by ~ 10 % on UNIX.
      On Windows LOW and SIZE currently translate to the same O1 optimization flag so no difference there.

      On Linux x86_64 for example the lib shrinks from
      300K to 268K and the debuginfo file shrinks from 1.9M to 1.7M .

      On Linux ppc64le for example the lib shrinks from
      428K to 368K and the debuginfo file shrinks from 2.0M to 1.7M .

            mbaesken Matthias Baesken
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: