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

Some small java build tools are still running with big JVM configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • infrastructure
    • None
    • b139

      A while back, we introduced the JAVA_SMALL configuration in the build, which improved build performance and reduced resource usage for several small java instances. However, it was never fully applied to all command lines where it would fit.

      I have looked through the entire build and measured performance with the current "BIG" configuration vs the "SMALL" one. In all cases, the small config won, especially when measuring total user time, but also for wall clock time. The total impact on a full build is of course small, since we already hit the low hanging fruit previously, but it's still nice to take this optimization all the way.

      On my Linux workstation, I save about 3 minutes of user time and a few seconds of wall clock. On a macpro, 2 minutes of user time and a few seconds of wall clock.

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: