Skip to content

Commit cdb487a

Browse files
shqkingDamonFool
authored andcommittedDec 23, 2020
8258856: VM build without C1/C2 fails after JDK-8243205
Reviewed-by: jiefu, kvn
1 parent 78c9fb9 commit cdb487a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed
 

‎src/hotspot/cpu/x86/stubGenerator_x86_64.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
#ifdef COMPILER2
4747
#include "opto/runtime.hpp"
4848
#endif
49+
#if INCLUDE_JVMCI
50+
#include "jvmci/jvmci_globals.hpp"
51+
#endif
4952
#if INCLUDE_ZGC
5053
#include "gc/z/zThreadLocalData.hpp"
5154
#endif

‎src/hotspot/share/compiler/oopMap.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
#ifdef COMPILER2
4747
#include "opto/optoreg.hpp"
4848
#endif
49+
#if INCLUDE_JVMCI
50+
#include "jvmci/jvmci_globals.hpp"
51+
#endif
4952

5053
// OopMapStream
5154

‎src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// no precompiled headers
2525
#include "ci/ciUtilities.hpp"
26+
#include "compiler/compiler_globals.hpp"
2627
#include "gc/shared/barrierSet.hpp"
2728
#include "gc/shared/cardTable.hpp"
2829
#include "gc/shared/collectedHeap.hpp"

0 commit comments

Comments
 (0)
Please sign in to comment.