@@ -12,14 +12,42 @@ IMAGEDIR="/build/jdk/build/linux-arm-normal-client-release/images"
1212HOSTJDK=" $SCRIPTDIR /jdk-10"
1313
1414
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
1537if [ " $JDKVER " -eq " 9" ]; then
1638 JAVA_REPO=" http://hg.openjdk.java.net/jdk-updates/jdk9u/"
1739 PATCHVER=" jdk9"
1840 AUTOGEN_PATH=" ./common/autoconf/autogen.sh"
41+ HOTSPOT_VARIANT=client
42+
43+ # OpenJDK 10
1944elif [ " $JDKVER " -eq " 10" ]; then
2045 JAVA_REPO=" http://hg.openjdk.java.net/jdk-updates/jdk10u/"
2146 PATCHVER=" jdk10"
2247 AUTOGEN_PATH=" ./make/autoconf/autogen.sh"
48+ HOTSPOT_VARIANT=client
49+
50+ # invalid or unset version
2351else
2452 echo " Error! Please specify JDK version to compile via the JDKVER environment variable." >&2
2553 echo " Acceptable values:" >&2
0 commit comments