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

Minimal and zero VM build broken after JDK-8227003

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      Symptom
      ------------------------------------------
      Building target 'images' in configuration 'linux-x86_64-minimal-release'
      /openjdk/jdk/build/linux-x86_64-minimal-release/hotspot/variant-minimal/libjvm/objs/compilerDefinitions.o: In function `CompilationModeFlag::disable_intermediate()':
      /openjdk/jdk/src/hotspot/share/compiler/compilerDefinitions.hpp:74: undefined reference to `CompilationModeFlag::_high_only'
      /openjdk/jdk/src/hotspot/share/compiler/compilerDefinitions.hpp:75: undefined reference to `CompilationModeFlag::_high_only_quick_internal'
      ------------------------------------------

      It might be fixed by:
      ---------------------------
      diff -r 4ec9fc2b2f0d src/hotspot/share/compiler/compilerDefinitions.cpp
      --- a/src/hotspot/share/compiler/compilerDefinitions.cpp Fri Nov 01 16:21:17 2019 -0400
      +++ b/src/hotspot/share/compiler/compilerDefinitions.cpp Sat Nov 02 16:54:37 2019 +0800
      @@ -37,12 +37,11 @@
         "jvmci"
       };

      -#ifdef TIERED
       bool CompilationModeFlag::_quick_only = false;
       bool CompilationModeFlag::_high_only = false;
       bool CompilationModeFlag::_high_only_quick_internal = false;
       
      -
      +#ifdef TIERED
       bool CompilationModeFlag::initialize() {
         if (CompilationMode != NULL) {
           if (strcmp(CompilationMode, "default") == 0) {
      @@ -60,7 +59,6 @@
           }
         return true;
       }
      -
       #endif

       #if defined(COMPILER2)
      ---------------------------

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jiefu Jie Fu
                Reporter:
                jiefu Jie Fu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: