Details

    • Subcomponent:
    • Resolved In Build:
      b29

      Backports

        Description

        Compiling Hotspot without only C2 fails, i.e.

        ./configure --with-jvm-features=-compiler2

        fails with:

        * For target hotspot_variant-server_libjvm_objs_deoptimization.o:
        /home/tschatzl/Downloads/vmshare/jdk10/hs/open/src/hotspot/share/runtime/deoptimization.cpp: In static member function 'static Deoptimization::UnrollBlock* Deoptimization::fetch_unroll_info_helper(JavaThread*, int)':
        /home/tschatzl/Downloads/vmshare/jdk10/hs/open/src/hotspot/share/runtime/deoptimization.cpp:305:25: error: 'DoEscapeAnalysis' was not declared in this scope
           if (jvmci_enabled || (DoEscapeAnalysis && EliminateAllocations)) {
                                 ^
        /home/tschatzl/Downloads/vmshare/jdk10/hs/open/src/hotspot/share/runtime/deoptimization.cpp:305:45: error: 'EliminateAllocations' was not declared in this scope
           if (jvmci_enabled || (DoEscapeAnalysis && EliminateAllocations)) {
                                                     ^
        /home/tschatzl/Downloads/vmshare/jdk10/hs/open/src/hotspot/share/runtime/deoptimization.cpp:321:26: error: 'DoEscapeAnalysis' was not declared in this scope
           if (jvmci_enabled || ((DoEscapeAnalysis || EliminateNestedLocks) && EliminateLocks)) {
                                  ^
        /home/tschatzl/Downloads/vmshare/jdk10/hs/open/src/hotspot/share/runtime/deoptimization.cpp:321:46: error: 'EliminateNestedLocks' was not declared in this scope
           if (jvmci_enabled || ((DoEscapeAnalysis || EliminateNestedLocks) && EliminateLocks)) {
                                                      ^
        /home/tschatzl/Downloads/vmshare/jdk10/hs/open/src/hotspot/share/runtime/deoptimization.cpp:321:71: error: 'EliminateLocks' was not declared in this scope
           if (jvmci_enabled || ((DoEscapeAnalysis || EliminateNestedLocks) && EliminateLocks)) {
           ... (rest of output omitted)

        It works again when disabling both C2 and JVMCI.

        Not sure if only leaving out C2 is a supported configuration, but should probably error out in the configure step if it isn't.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  tschatzl Thomas Schatzl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: