jdk: C1 compiler for x86_64 and arm

JIT compiler version of OpenJDK 9

issue #136
This commit is contained in:
Sebastian Sumpf
2019-02-20 11:39:20 +01:00
committed by Norman Feske
parent a6de6457d2
commit e675075ee3
11 changed files with 341 additions and 28 deletions

View File

@@ -18,7 +18,9 @@ CC_OPT += -D__GENODE__
CC_OPT += -DINCLUDE_SUFFIX_OS=_bsd -DTARGET_COMPILER_gcc -D_ALLBSD_SOURCE -DUSE_LIBRARY_BASED_TLS_ONLY \
-DVM_LITTLE_ENDIAN
CC_OLEVEL = -O0
CC_OPT += -DCOMPILER1 -DCOMPILER2
CC_OLEVEL = -O2
## DEBUGGING ##
#CC_OPT += -DASSERT
@@ -138,14 +140,9 @@ SRC_CTWO += share/vm/ci/bcEscapeAnalyzer.cpp \
share/vm/opto/vectornode.cpp \
share/vm/prims/jvm.cpp \
share/vm/runtime/globals.cpp \
share/vm/runtime/vframe.cpp \
share/vm/runtime/sharedRuntime.cpp
#
# create CC_OPT_file for c1/c2 compiler
#
$(foreach FILE, $(SRC_CONE:.cpp=), $(eval CC_OPT_$(FILE) = -DCOMPILER1))
$(foreach FILE, $(SRC_CTWO:.cpp=), $(eval CC_OPT_$(FILE) = -DCOMPILER2))
CC_OPT_share/vm/runtime/vm_version += $(JDK_VERSION) \
-DHOTSPOT_VERSION_STRING='"9-internal+0-adhoc.genode.openjdk-jdk9-jdk9"'\
-DDEBUG_LEVEL='"release"' -DHOTSPOT_VM_DISTRO='"OpenJDK"' \
@@ -609,7 +606,6 @@ SRC_CC += $(SRC_CONE) $(SRC_CTWO) \
share/vm/runtime/timerTrace.cpp \
share/vm/runtime/unhandledOops.cpp \
share/vm/runtime/vframeArray.cpp \
share/vm/runtime/vframe.cpp \
share/vm/runtime/vframe_hp.cpp \
share/vm/runtime/vm_operations.cpp \
share/vm/runtime/vmStructs.cpp \