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

jlink is 50% slower when native libraries has internal debug symbols

XMLWordPrintable

      Robbin Ehn made me aware that the jlink command in the JDK build runs more than 50% slower if the build is configured with --with-native-debug-symbols=internal.

      On my machine, this means a link time of 7-8 seconds instead of ~5. With a slowdebug build (as Robbin was experimenting with) the result is even more markedly, going from 19 seconds to 36.

      I have a hard time understanding that the additional debug data should have this kind of performance impact, and suspect there is some kind of bug underlying this.

            Unassigned Unassigned
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: