@@ -12,14 +12,42 @@ IMAGEDIR="/build/jdk/build/linux-arm-normal-client-release/images"
12
12
HOSTJDK=" $SCRIPTDIR /jdk-10"
13
13
14
14
15
+ # Version-specific configuration
16
+
17
+ # mercurial repository
18
+ # JAVA_REPO="http://hg.openjdk.java.net/jdk-updates/jdkXu/"
19
+ # patch to apply
20
+ # PATCHVER="jdkX"
21
+ # path to autogen.sh to regenerate the build system
22
+ # AUTOGEN_PATH="./common/autoconf/autogen.sh"
23
+ # hotspot variant to use
24
+ # HOTSPOT_VARIANT=client
25
+ # A comment from OpenJDK build system sums it up pretty well:
26
+ # # server: normal interpreter, and a tiered C1/C2 compiler
27
+ # # client: normal interpreter, and C1 (no C2 compiler)
28
+ # # minimal: reduced form of client with optional features stripped out
29
+ # # core: normal interpreter only, no compiler
30
+ # # zero: C++ based interpreter only, no compiler
31
+ # # custom: baseline JVM with no default features
32
+ # 'client' JVM starts fast enough and provides the best performance.
33
+ # 'zero' JVM provides us with a fallback when ARMv5 sflt JIT stops working completely.
34
+
35
+
36
+ # OpenJDK 9
15
37
if [ " $JDKVER " -eq " 9" ]; then
16
38
JAVA_REPO=" http://hg.openjdk.java.net/jdk-updates/jdk9u/"
17
39
PATCHVER=" jdk9"
18
40
AUTOGEN_PATH=" ./common/autoconf/autogen.sh"
41
+ HOTSPOT_VARIANT=client
42
+
43
+ # OpenJDK 10
19
44
elif [ " $JDKVER " -eq " 10" ]; then
20
45
JAVA_REPO=" http://hg.openjdk.java.net/jdk-updates/jdk10u/"
21
46
PATCHVER=" jdk10"
22
47
AUTOGEN_PATH=" ./make/autoconf/autogen.sh"
48
+ HOTSPOT_VARIANT=client
49
+
50
+ # invalid or unset version
23
51
else
24
52
echo " Error! Please specify JDK version to compile via the JDKVER environment variable." >&2
25
53
echo " Acceptable values:" >&2
0 commit comments