Massive Hotspot build performance degradation after JDK-8378076

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P1
    • None
    • Affects Version/s: 27
    • Component/s: hotspot
    • None
    • gc

      JDK-8378076 apparently pulverizes Hotspot build performance at least with GCC 13.3.0. This is a major productivity loss.

      using configure arguments '--with-boot-jdk=/home/shade/Install/jdk25u-ea --with-debug-level=fastdebug --with-jtreg=/home/shade/Install/jtreg-8.2.1+1 --with-gtest=/home/shade/Install/googletest-1.14.0/ --disable-precompiled-headers'.

      Configuration summary:
      * Name: linux-x86_64-server-fastdebug
      * Debug level: fastdebug
      * HS debug level: fastdebug
      * JVM variants: server
      * JVM features: server: 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmci jvmti management parallelgc serialgc services shenandoahgc vm-structs zgc'
      * OpenJDK target: OS: linux, CPU architecture: x86, address length: 64
      * Version string: 27-internal-adhoc.shade.jdk (27-internal)
      * Source date: 1771425864 (2026-02-18T14:44:24Z)

      Tools summary:
      * Boot JDK: openjdk version "25.0.3-testing" 2026-04-21 OpenJDK Runtime Environment (build 25.0.3-testing-builds.shipilev.net-openjdk-jdk25-b156-20251204-0942) OpenJDK 64-Bit Server VM (build 25.0.3-testing-builds.shipilev.net-openjdk-jdk25-b156-20251204-0942, mixed mode, sharing) (at /home/shade/Install/jdk25u-ea)
      * Toolchain: gcc (GNU Compiler Collection)
      * C Compiler: Version 13.3.0 (at /usr/bin/gcc)
      * C++ Compiler: Version 13.3.0 (at /usr/bin/g++)

      Build performance summary:
      * Build jobs: 32
      * Memory limit: 128708 MB


      $ time LOG=info CONF=linux-x86_64-server-fastdebug make clean hotspot | ts -s

      # mainline at a86a847f57a2244b670a6532399278dd550c4e2f~1:

      00:02:51 ----- Build times -------
      00:02:51 Start 2026-02-18 17:29:19
      00:02:51 End 2026-02-18 17:32:09
      00:02:51
      00:02:51 00:02:50 TOTAL
      00:02:51 -------------------------
      00:02:51 Finished building targets 'clean hotspot' in configuration 'linux-x86_64-server-fastdebug'

      real 2m50.709s
      user 75m39.196s
      sys 7m34.995s

      # mainline at a86a847f57a2244b670a6532399278dd550c4e2f:

      00:06:58 ----- Build times -------
      00:06:58 Start 2026-02-18 17:32:28
      00:06:58 End 2026-02-18 17:39:25
      00:06:58
      00:06:58 00:06:57 TOTAL
      00:06:58 -------------------------
      00:06:58 Finished building targets 'clean hotspot' in configuration 'linux-x86_64-server-fastdebug'

      real 6m58.094s
      user 167m35.701s
      sys 8m58.363s

            Assignee:
            Ivan Walulya
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: