Skip to content

Commit f2b9a1a

Browse files
committed
Fix CI scripts for OpenJDK 21
This changes paths build options, etc., to make the CI scripts work with OpenJDK 21. We now use a single source of truth for the OpenJDK path instead of defining OPENJDK_PATH in multiple scripts.
1 parent 711d5de commit f2b9a1a

13 files changed

+59
-55
lines changed

.github/scripts/ci-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ build_target=$1
1313
# Build product bundle
1414
cd $OPENJDK_PATH
1515
sh configure --disable-warnings-as-errors --with-debug-level=$DEBUG_LEVEL
16-
make CONF=linux-x86_64-normal-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$BINDING_PATH/openjdk $OPENJDK_BUILD_TARGET
16+
make CONF=linux-x86_64-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$BINDING_PATH/openjdk $OPENJDK_BUILD_TARGET

.github/scripts/ci-checkout.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
# ci-checkout.sh
21
set -ex
32

43
. $(dirname "$0")/common.sh
54

65
OPENJDK_URL=`cargo read-manifest --manifest-path=$BINDING_PATH/mmtk/Cargo.toml | python3 -c 'import json,sys; print(json.load(sys.stdin)["metadata"]["openjdk"]["openjdk_repo"])'`
76
OPENJDK_VERSION=`cargo read-manifest --manifest-path=$BINDING_PATH/mmtk/Cargo.toml | python3 -c 'import json,sys; print(json.load(sys.stdin)["metadata"]["openjdk"]["openjdk_version"])'`
87

9-
# Use default openjdk path if it is not set (this is only need when MMTk core calls the script)
10-
OPENJDK_PATH=${OPENJDK_PATH:="$BINDING_PATH/repos/openjdk"}
11-
128
rm -rf $OPENJDK_PATH
139
git clone $OPENJDK_URL $OPENJDK_PATH
1410
git -C $OPENJDK_PATH checkout $OPENJDK_VERSION

.github/scripts/ci-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set -xe
22

33
. $(dirname "$0")/common.sh
44

5-
# Install nightly rust
5+
# Install the appropriate Rust toolchain
66
rustup toolchain install $RUSTUP_TOOLCHAIN
77
rustup target add i686-unknown-linux-gnu --toolchain $RUSTUP_TOOLCHAIN
88
rustup component add clippy --toolchain $RUSTUP_TOOLCHAIN

.github/scripts/ci-test-extended.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ set -ex
33
. $(dirname "$0")/common.sh
44
cur=$BINDING_PATH/.github/scripts
55

6+
# This script runs against a specific pre-built java binary, not OpenJDK source code.
7+
ensure_env TEST_JAVA_BIN
8+
unset OPENJDK_PATH
9+
610
# This script is only used by MMTk core.
7-
# OPENJDK_PATH is the default path set in ci-checkout.sh
8-
export OPENJDK_PATH=$BINDING_PATH/repos/openjdk
911
export DEBUG_LEVEL=fastdebug
10-
export TEST_JAVA_BIN=$OPENJDK_PATH/build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java
12+
export TEST_JAVA_BIN=$OPENJDK_PATH/build/linux-x86_64-server-$DEBUG_LEVEL/jdk/bin/java
1113

1214
# Download dacapo
1315
export DACAPO_PATH=$BINDING_PATH/dacapo

.github/scripts/ci-test-minimal.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ set -ex
44
cur=$BINDING_PATH/.github/scripts
55

66
# This script is only used by MMTk core.
7-
# OPENJDK_PATH is the default path set in ci-checkout.sh
8-
export OPENJDK_PATH=$BINDING_PATH/repos/openjdk
97
export DEBUG_LEVEL=fastdebug
10-
export TEST_JAVA_BIN=$OPENJDK_PATH/build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java
8+
export TEST_JAVA_BIN=$OPENJDK_PATH/build/linux-x86_64-server-$DEBUG_LEVEL/jdk/bin/java
119

1210
# Download dacapo
1311
export DACAPO_PATH=$BINDING_PATH/dacapo

.github/scripts/ci-test-only-normal.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set -xe
44

55
unset JAVA_TOOL_OPTIONS
66

7+
# This script runs against a specific pre-built java binary, not OpenJDK source code.
8+
ensure_env TEST_JAVA_BIN
9+
unset OPENJDK_PATH
10+
711
run_all() {
812
heap_multiplier=$1
913

.github/scripts/ci-test-only-weak-ref.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ set -xe
33
. $(dirname "$0")/common.sh
44

55
unset JAVA_TOOL_OPTIONS
6-
cd $OPENJDK_PATH
6+
7+
# This script runs against a specific pre-built java binary, not OpenJDK source code.
8+
ensure_env TEST_JAVA_BIN
9+
unset OPENJDK_PATH
710

811
export MMTK_NO_REFERENCE_TYPES=false
912
# Just test Immix and MarkCompact

.github/scripts/common.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
BINDING_PATH=$(realpath $(dirname "$0"))/../..
22
RUSTUP_TOOLCHAIN=`cat $BINDING_PATH/mmtk/rust-toolchain`
33

4+
# build.yml specifies the OPENJDK_PATH env var when calling ci-build.sh
5+
# But other scripts expect a default path for OpenJDK.
6+
OPENJDK_PATH=${OPENJDK_PATH:="$BINDING_PATH/repos/jdk"}
7+
48
# dacapo2006 min heap for mark compact
59
MINHEAP_ANTLR=5
610
MINHEAP_FOP=13

.github/scripts/pgo-build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ cargo clean
1111
popd
1212

1313
# Compile with profiling support
14-
RUSTFLAGS="-Cprofile-generate=/tmp/$USER/pgo-data" make CONF=linux-x86_64-normal-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
14+
RUSTFLAGS="-Cprofile-generate=/tmp/$USER/pgo-data" make CONF=linux-x86_64-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
1515

1616
# Remove extraneous profiling data
1717
rm -rf /tmp/$USER/pgo-data/*
1818

1919
# Profile using fop
20-
MMTK_PLAN=GenImmix MMTK_STRESS_FACTOR=16777216 MMTK_PRECISE_STRESS=false ./build/linux-x86_64-normal-server-release/images/jdk/bin/java -XX:MetaspaceSize=500M -XX:+DisableExplicitGC -XX:-TieredCompilation -Xcomp -XX:+UseThirdPartyHeap -Xms60M -Xmx60M -jar /usr/share/benchmarks/dacapo/dacapo-23.9-RC3-chopin.jar -n 5 fop
20+
MMTK_PLAN=GenImmix MMTK_STRESS_FACTOR=16777216 MMTK_PRECISE_STRESS=false ./build/linux-x86_64-server-release/images/jdk/bin/java -XX:MetaspaceSize=500M -XX:+DisableExplicitGC -XX:-TieredCompilation -Xcomp -XX:+UseThirdPartyHeap -Xms60M -Xmx60M -jar /usr/share/benchmarks/dacapo/dacapo-23.9-RC3-chopin.jar -n 5 fop
2121

2222
# Merge profiling data
2323
/opt/rust/toolchains/1.71.1-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/llvm-profdata merge -o /tmp/$USER/pgo-data/merged.profdata /tmp/$USER/pgo-data
@@ -27,4 +27,4 @@ cargo clean
2727
popd
2828

2929
# Compile using profiling data
30-
RUSTFLAGS="-Cprofile-use=/tmp/$USER/pgo-data/merged.profdata -Cllvm-args=-pgo-warn-missing-function" make CONF=linux-x86_64-normal-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
30+
RUSTFLAGS="-Cprofile-use=/tmp/$USER/pgo-data/merged.profdata -Cllvm-args=-pgo-warn-missing-function" make CONF=linux-x86_64-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images

.github/workflows/build.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,19 @@ jobs:
2020
build-linux-x64:
2121
name: linux-x64
2222
runs-on: ubuntu-22.04
23+
env:
24+
# This overrides OPENJDK_PATH in ci-common.sh
25+
# Note: We cannot use default environment variables (GITHUB_*) in the "env" context. Use github.* instead.
26+
# See: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#default-environment-variables
27+
OPENJDK_PATH: ${{ github.workspace }}/git/openjdk
2328
steps:
2429
- name: Checkout MMTk OpenJDK binding
2530
uses: actions/checkout@v4
2631
with:
2732
path: ./git/mmtk-openjdk
28-
- name: Extract OpenJDK revision
29-
id: extract-openjdk-revision
30-
run: |
31-
OPENJDK_VERSION=`sed -n 's/^openjdk_version.=."\(.*\)"$/\1/p' < git/mmtk-openjdk/mmtk/Cargo.toml`
32-
echo "openjdk-revision=$OPENJDK_VERSION" >> $GITHUB_OUTPUT
3333
- name: Checkout OpenJDK
34-
uses: actions/checkout@v4
35-
with:
36-
repository: mmtk/openjdk
37-
path: ./git/openjdk
38-
ref: ${{ steps.extract-openjdk-revision.outputs.openjdk-revision }}
39-
# Patch mmtk-core version if needed
40-
- name: Patch mmtk-core version
34+
run: ./git/mmtk-openjdk/.github/scripts/ci-checkout.sh
35+
- name: Patch mmtk-core version if needed
4136
if: ${{ inputs.mmtk-core-repo != '' || inputs.mmtk-core-ref != '' }}
4237
run: |
4338
pip3 install tomlkit
@@ -60,14 +55,16 @@ jobs:
6055
echo "BUILD_SUFFIX=$escaped_build" >> $GITHUB_ENV
6156
fi
6257
- name: Build MMTk OpenJDK ${{ inputs.debug-level }}
63-
run: |
64-
OPENJDK_PATH=$GITHUB_WORKSPACE/git/openjdk DEBUG_LEVEL=${{ inputs.debug-level }} OPENJDK_BUILD_TARGET=product-bundles ./.github/scripts/ci-build.sh
58+
env:
59+
DEBUG_LEVEL: ${{ inputs.debug-level }}
60+
OPENJDK_BUILD_TARGET: product-bundles
61+
run: ./.github/scripts/ci-build.sh
6562
working-directory: ./git/mmtk-openjdk
6663
- name: Upload bundles
6764
uses: actions/upload-artifact@v4
6865
with:
6966
name: linux-x86_64-server-${{ inputs.debug-level }}-bundles-${{ env.BUILD_SUFFIX }}
7067
path: |
71-
./git/openjdk/build/linux-x86_64-normal-server-${{ inputs.debug-level }}/bundles/*_bin.tar.gz
72-
./git/openjdk/build/linux-x86_64-normal-server-${{ inputs.debug-level }}/bundles/*_bin-debug.tar.gz
68+
./git/openjdk/build/linux-x86_64-server-${{ inputs.debug-level }}/bundles/*_bin.tar.gz
69+
./git/openjdk/build/linux-x86_64-server-${{ inputs.debug-level }}/bundles/*_bin-debug.tar.gz
7370
retention-days: 2

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ You would need our OpenJDK fork which includes the support for a third party hea
5656

5757
Assuming your current working directory is the parent folder of `mmtk-openjdk`, you can checkout out OpenJDK and the correct version using:
5858
```console
59-
$ git clone https://github.com/mmtk/openjdk.git
59+
$ git clone https://github.com/mmtk/jdk.git
6060
$ git -C openjdk checkout `sed -n 's/^openjdk_version.=."\(.*\)"$/\1/p' < mmtk-openjdk/mmtk/Cargo.toml`
6161
```
6262

@@ -113,17 +113,17 @@ $ sh configure --disable-warnings-as-errors --with-debug-level=$DEBUG_LEVEL
113113
Then build OpenJDK (this will build MMTk as well):
114114

115115
```console
116-
$ make CONF=linux-x86_64-normal-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
116+
$ make CONF=linux-x86_64-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
117117
```
118118

119-
The output jdk is then found at `./build/linux-x86_64-normal-server-release/images/jdk`.
119+
The output jdk is then found at `./build/linux-x86_64-server-release/images/jdk`.
120120

121121
> **Note:** The above `make` command will build the `images` target, which is a proper release build of OpenJDK. It is **essential** that you use this target if you are planning on evaluating your build (e.g. measuring performance, gathering minimum heap values, etc). However, if you are simply developing and building incremental changes often, you may want to use the [`default` target or "exploded image"](https://github.com/openjdk/jdk11u/blob/master/doc/building.md#Running-make), which has a marginally shorter build time. However, be wary, as the exploded image is the (roughly) minimal set of outputs required to run the built JDK and is not guaranteed to run all benchmarks. It may have bloated minimum heap values as well.
122122
>
123-
> The exploded image can be built as follows. The output jdk can be found at `./build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk`.
123+
> The exploded image can be built as follows. The output jdk can be found at `./build/linux-x86_64-server-$DEBUG_LEVEL/jdk`.
124124
>
125125
> ```console
126-
> $ make CONF=linux-x86_64-normal-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk
126+
> $ make CONF=linux-x86_64-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk
127127
> ```
128128
>
129129
> Again: **do not use the exploded image for performance analysis**.
@@ -151,7 +151,7 @@ stress factor of 4 MB in order to trigger more GC events.
151151
First we compile MMTk with profiling support:
152152

153153
```console
154-
$ RUSTFLAGS="-Cprofile-generate=/tmp/$USER/pgo-data" make CONF=linux-x86_64-normal-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
154+
$ RUSTFLAGS="-Cprofile-generate=/tmp/$USER/pgo-data" make CONF=linux-x86_64-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
155155
$ rm -rf /tmp/$USER/pgo-data/*
156156
```
157157
We clear the `/tmp/$USER/pgo-data` directory as during compilation, the JVM we
@@ -162,7 +162,7 @@ We then run `fop` in order to get some profiling data. Note that your location
162162
for the DaCapo benchmarks may be different:
163163

164164
```bash
165-
MMTK_PLAN=GenImmix MMTK_STRESS_FACTOR=4194304 MMTK_PRECISE_STRESS=false ./build/linux-x86_64-normal-server-release/images/jdk/bin/java -XX:MetaspaceSize=500M -XX:+DisableExplicitGC -XX:-TieredCompilation -Xcomp -XX:+UseThirdPartyHeap -Xms60M -Xmx60M -jar /usr/share/benchmarks/dacapo/dacapo-evaluation-git-6e411f33.jar -n 5 fop
165+
MMTK_PLAN=GenImmix MMTK_STRESS_FACTOR=4194304 MMTK_PRECISE_STRESS=false ./build/linux-x86_64-server-release/images/jdk/bin/java -XX:MetaspaceSize=500M -XX:+DisableExplicitGC -XX:-TieredCompilation -Xcomp -XX:+UseThirdPartyHeap -Xms60M -Xmx60M -jar /usr/share/benchmarks/dacapo/dacapo-evaluation-git-6e411f33.jar -n 5 fop
166166
```
167167

168168
We have to merge the profiling data into something we can feed into the Rust
@@ -179,11 +179,11 @@ your Rust version.*
179179
Finally, we build a new image using the profiling data as an input:
180180

181181
```console
182-
$ RUSTFLAGS="-Cprofile-use=/tmp/$USER/pgo-data/merged.profdata -Cllvm-args=-pgo-warn-missing-function" make CONF=linux-x86_64-normal-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
182+
$ RUSTFLAGS="-Cprofile-use=/tmp/$USER/pgo-data/merged.profdata -Cllvm-args=-pgo-warn-missing-function" make CONF=linux-x86_64-server-release THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk images
183183
```
184184

185185
We now have an OpenJDK build under
186-
`./build/linux-x86_64-normal-server-release/images/jdk` with MMTk that has been
186+
`./build/linux-x86_64-server-release/images/jdk` with MMTk that has been
187187
optimized using PGO.
188188

189189
For ease of use, we have provided an example script which does the above in
@@ -197,7 +197,7 @@ metadata), but by setting the environment variable `MMTK_MARK_IN_HEADER=1` while
197197
building OpenJDK, we can change its location to be in the object's header:
198198

199199
```console
200-
$ MMTK_MARK_IN_HEADER=1 make CONF=linux-x86_64-normal-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk
200+
$ MMTK_MARK_IN_HEADER=1 make CONF=linux-x86_64-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk
201201
```
202202

203203
### Valid object bit
@@ -207,7 +207,7 @@ environment variable `MMTK_VO_BIT=1` when building OpenJDK. This will set the fe
207207
for mmtk-core, as well as compiling the fastpath for the VO bit.
208208

209209
```console
210-
$ MMTK_VO_BIT=1 make CONF=linux-x86_64-normal-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk
210+
$ MMTK_VO_BIT=1 make CONF=linux-x86_64-server-$DEBUG_LEVEL THIRD_PARTY_HEAP=$PWD/../mmtk-openjdk/openjdk
211211
```
212212

213213
## Test
@@ -221,8 +221,8 @@ class HelloWorld {
221221
System.out.println("Hello World!");
222222
}
223223
}
224-
$ ./build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/javac HelloWorld.java
225-
$ ./build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java HelloWorld
224+
$ ./build/linux-x86_64-server-$DEBUG_LEVEL/jdk/bin/javac HelloWorld.java
225+
$ ./build/linux-x86_64-server-$DEBUG_LEVEL/jdk/bin/java HelloWorld
226226
Hello World!
227227
```
228228

@@ -231,7 +231,7 @@ Hello World!
231231
Pass `-XX:+UseThirdPartyHeap` as java command line arguments to enable MMTk.
232232

233233
```
234-
$ ./build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap HelloWorld
234+
$ ./build/linux-x86_64-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap HelloWorld
235235
```
236236

237237
If `DEBUG_LEVEL` is `release`, you should just see
@@ -266,7 +266,7 @@ $ wget https://sourceforge.net/projects/dacapobench/files/9.12-bach-MR1/dacapo-9
266266
Run a DaCapo benchmark (e.g. `lusearch`):
267267

268268
```console
269-
$ ./build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -Xms512M -Xmx512M -jar ./dacapo-9.12-MR1-bach.jar lusearch
269+
$ ./build/linux-x86_64-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -Xms512M -Xmx512M -jar ./dacapo-9.12-MR1-bach.jar lusearch
270270
Using scaled threading model. 24 processors detected, 24 threads used to drive the workload, in a possible range of [1,64]
271271
===== DaCapo 9.12-MR1 lusearch starting =====
272272
4 query batches completed

TESTING-legacy.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ cargo +nightly build
3434
cd ..
3535
# Build OpenJDK
3636
bash configure --disable-warnings-as-errors --with-debug-level=<DEBUG_LEVEL>
37-
CONF=linux-x86_64-normal-server-<DEBUG_LEVEL> make
38-
# JDK is at `build/linux-x86_64-normal-server-<DEBUG_LEVEL>/jdk`
37+
CONF=linux-x86_64-server-<DEBUG_LEVEL> make
38+
# JDK is at `build/linux-x86_64-server-<DEBUG_LEVEL>/jdk`
3939
```
4040

4141
## Building (release)
@@ -48,13 +48,13 @@ cargo +nightly build --release
4848
cd ..
4949
# Build OpenJDK
5050
bash configure --disable-warnings-as-errors
51-
CONF=linux-x86_64-normal-server-release make
52-
# JDK is at `build/linux-x86_64-normal-server-release/jdk`
51+
CONF=linux-x86_64-server-release make
52+
# JDK is at `build/linux-x86_64-server-release/jdk`
5353
```
5454

5555
## Testing
5656

57-
1. `java` binary is at `build/linux-x86_64-normal-server-<DEBUG_LEVEL>/jdk/bin/java`.
57+
1. `java` binary is at `build/linux-x86_64-server-<DEBUG_LEVEL>/jdk/bin/java`.
5858
2. Set env `LD_LIBRARY_PATH` to include `$PWD/mmtk/vmbindings/openjdk/target/debug` (or `$PWD/mmtk/vmbindings/openjdk/target/release` if openjdk is built with debug level `release`).
5959
3. To enable MMTk, pass `-XX:+UseMMTk -XX:-UseCompressedOops` to `java`.
6060

@@ -63,13 +63,13 @@ e.g.:
6363
* If `DEBUG_LEVEL` = `fastdebug`, `slowdebug` or `optimized`:
6464
```bash
6565
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/mmtk/vmbindings/openjdk/target/debug
66-
build/linux-x86_64-normal-server-fastdebug/jdk/bin/java -XX:+UseMMTk -XX:-UseCompressedOops HelloWorld
66+
build/linux-x86_64-server-fastdebug/jdk/bin/java -XX:+UseMMTk -XX:-UseCompressedOops HelloWorld
6767
```
6868

6969
* If `DEBUG_LEVEL` = `release`:
7070
```bash
7171
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/mmtk/vmbindings/openjdk/target/release
72-
build/linux-x86_64-normal-server-release/jdk/bin/java -XX:+UseMMTk -XX:-UseCompressedOops HelloWorld
72+
build/linux-x86_64-server-release/jdk/bin/java -XX:+UseMMTk -XX:-UseCompressedOops HelloWorld
7373
```
7474

7575
> Original instructions by Abdullah Al Mamun and Tanveer Hannan

mmtk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ lto = true
1616

1717
# Metadata for the OpenJDK repository
1818
[package.metadata.openjdk]
19-
# Our CI matches the following line and extract mmtk/openjdk. If this line is updated, please check ci yaml files and make sure it works.
19+
# Our CI matches the following line and extract mmtk/jdk. If this line is updated, please check ci yaml files and make sure it works.
2020
openjdk_repo = "https://github.com/mmtk/jdk.git"
2121
openjdk_version = "2632c4f7b5366bed4d0cb91ea5ffe93541a70e30"
2222

0 commit comments

Comments
 (0)