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

Disable G1 for unsupported platforms after JDK-8334060

XMLWordPrintable

    • b20
    • x86
    • linux

      Building Linux x86 fails with the following error:
      ---
      gmake[2]: *** [make/Main.gmk:631: java.base-interim-jmod] Error 2

      ERROR: Build failed for target 'images' in configuration 'linux-x86-server-release' (exit code 2)

      === Output from failing command(s) repeated here ===
      * For target support_images_jmods__create_java.desktop.jmod_exec:
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (barrierSetAssembler_x86.cpp:747), pid=1328621, tid=1328654
      # Error: Unimplemented()
      #
      # JRE version: OpenJDK Runtime Environment (24.0) (build 24-internal-adhoc.vladimirp.jdk)
      # Java VM: OpenJDK Server VM (24-internal-adhoc.vladimirp.jdk, mixed mode, tiered, g1 gc, linux-x86)
      # Problematic frame:
      # V [libjvm.so+0x2d4dfa] BarrierSetAssembler::refine_register(Node const*, int)+0x1a
      #
      # Core dump will be written. Default location: /tmp/core.1328621
      #
      # An error report file with more information is saved as:
      # /home/vladimirp/git/jdk/make/hs_err_pid1328621.log
         ... (rest of output omitted)
      * For target support_interim-jmods_support__create_java.base.jmod_exec:
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (barrierSetAssembler_x86.cpp:747), pid=1328682, tid=1328704
      # Error: Unimplemented()
      #
      # JRE version: OpenJDK Runtime Environment (24.0) (build 24-internal-adhoc.vladimirp.jdk)
      # Java VM: OpenJDK Server VM (24-internal-adhoc.vladimirp.jdk, mixed mode, tiered, g1 gc, linux-x86)
      # Problematic frame:
      # V [libjvm.so+0x2d4dfa] BarrierSetAssembler::refine_register(Node const*, int)+0x1a
      #
      # Core dump will be written. Default location: /tmp/core.1328682
      #
      # An error report file with more information is saved as:
      # /home/vladimirp/git/jdk/make/hs_err_pid1328682.log
         ... (rest of output omitted)

      * All command lines available in /home/vladimirp/git/jdk/build/linux-x86-server-release/make-support/failure-logs.
      === End of repeated output ===

      No indication of failed target found.
      HELP: Try searching the build log for '] Error'.
      HELP: Run 'make doctor' to diagnose build problems.
      ----

        1. hs_err_pid1328621.log
          42 kB
          Vladimir Petko
        2. hs_err_pid1328682.log
          43 kB
          Vladimir Petko

            shade Aleksey Shipilev
            vpetko Vladimir Petko
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: