-
Bug
-
Resolution: Fixed
-
P3
-
14, 15
-
b29
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8236220 | 15 | Vladimir Kozlov | P3 | Resolved | Fixed | b02 |
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.
./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.
- backported by
-
JDK-8236220 VM build without C2 fails
-
- Resolved
-
- relates to
-
JDK-8226705 [REDO] Deoptimize with handshakes
-
- Resolved
-