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

JFR: Build failure when C1 or C2 is disabled after JDK-8282420

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • hotspot
    • jfr
    • b23


      JDK fails to build when C1 or c2 is disabled by --with-jvm-features=-compiler{1,2}

      ```
      * For target hotspot_variant-server_libjvm_objs_jfrResolution.o:
      In file included from /jdk/src/hotspot/share/c1/c1_Instruction.hpp:28,
                       from /jdk/src/hotspot/share/c1/c1_IR.hpp:28,
                       from /jdk/src/hotspot/share/c1/c1_GraphBuilder.hpp:28,
                       from /jdk/src/hotspot/share/jfr/instrumentation/jfrResolution.cpp:26:
      /jdk/src/hotspot/share/c1/c1_Compilation.hpp: In member function 'bool Compilation::should_install_code()':
      /jdk/src/hotspot/share/c1/c1_Compilation.hpp:155:76: error: 'InstallMethods' was not declared in this scope
         bool should_install_code() { return _install_code && InstallMethods; }
                                                                                  ^~~~~~~~~~~~~~
      /jdk/src/hotspot/share/c1/c1_Compilation.hpp:155:76: note: suggested alternative: 'install_code'
         bool should_install_code() { return _install_code && InstallMethods; }
                                                                                  ^~~~~~~~~~~~~~
                                                                                  install_code
      /jdk/src/hotspot/share/c1/c1_Compilation.hpp: In static member function 'static int Compilation::desired_max_code_buffer_size()':
      /jdk/src/hotspot/share/c1/c1_Compilation.hpp:211:17: error: 'NMethodSizeLimit' was not declared in this scope
           return (int)NMethodSizeLimit; // default 64K
      ```

            jiefu Jie Fu
            jiefu Jie Fu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: