-
Notifications
You must be signed in to change notification settings - Fork 39
(don't merge now) Fix CI tests for OpenJDK 21 #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
a584182
Make NoGC work
xinyu-zheng ff7b4b4
Fix initializer order
xinyu-zheng a727e32
Match Klasses layout
xinyu-zheng 935498f
Fix savengable seg fault
xinyu-zheng 9b2db37
Make scavengable return true
xinyu-zheng 24b90dd
Apply root scanning optimizations
xinyu-zheng f054f6c
Add missing roots
xinyu-zheng df6655b
Fix undefined reference
xinyu-zheng 4afed0f
Fix hidden virtual functions
xinyu-zheng 798cf0b
Remove unnecessary set_native_thread_name
xinyu-zheng 932eb6f
Fix parse_access cast
xinyu-zheng 268dabd
Fix making JVM_LIB_OUTPUTDIR
xinyu-zheng e17a953
Remove explicit JNI roots scanning
xinyu-zheng 6be55c6
Fix code cache roots scanning
xinyu-zheng a940eb2
Merge v0.12 into 17-0.12
xinyu-zheng 225b65c
Delete scratch directory
xinyu-zheng 3ebff97
Fix fastdebug
xinyu-zheng a46ec99
Merge branch '17-0.12' of github.com:xinyu-zheng/mmtk-openjdk into 17…
xinyu-zheng 8b18e0f
Fix store_at
caizixian 8ca2eab
Fix set_threadObj
caizixian db93452
Update jdk commit hash
caizixian f0d700a
Reflect changes in oops
caizixian 89f1967
Reflect changes in Mutex and Monitor
caizixian 00b11f6
Fix includes
caizixian 548bb40
Fix c2 alloc sequence due to changes in allocation dprobe
caizixian 0c6bc9f
Reflect changes in thread type
caizixian 29647df
Fix warning
caizixian f439281
Add assertion when using lightweight threads with MMTk
caizixian fcc4f03
Fix code marking
caizixian d0b692b
Merge remote-tracking branch 'upstream/master' into jdk-20+15-mmtk-merge
caizixian f309a4e
Fix compiler errors
caizixian bd5eb9c
Have zero working with no barrier
caizixian 5463d2d
Restore object barrier
caizixian a7b396a
Merge remote-tracking branch 'upstream/master' into jdk-20+15-mmtk-zero
caizixian 92a627a
Conditional compile CPU specific code
caizixian 21a782a
Merge pull request #1 from caizixian/jdk-20+15-mmtk-zero
caizixian bcbf324
Update OpenJDK commit hash
caizixian e210c55
Basic RISC-V fast path structure
caizixian 097c6a5
Fix code cache roots relocation
caizixian 0c424a3
RISC-V cross compilation
caizixian 7ba5130
Implement eden_allocate
caizixian 6b5cb45
Merge pull request #2 from caizixian/jdk-20+16-mmtk-fastpath
caizixian 2fe03e6
Fix include
caizixian 5e14860
Always use the installed stable toolchain
caizixian d93dda6
Implement C1 write barrier stub
caizixian d6cc6b2
Refactor mmtkNoBarrier
caizixian 4a1e59b
Refactor mmtkObjectBarrier
caizixian 53ad4e9
Implement arraycopy_epilogue
caizixian f287ed9
Finish porting the object barrier for riscv
caizixian f7da8b5
More assertions
caizixian 94ee3e0
fop interpreter working with no barrier fast path and basically nop s…
caizixian f164ca3
fop interpreter with no barrier fast path but with slow path call (on…
caizixian 05ce800
No barrier fast path but with slow path call (only pass the first arg…
caizixian 6644d31
Pass all three arguments in barrier slow path
caizixian 18694a5
Fix write barrier slow path condition
caizixian d88f559
Compile with jdk-20+20
caizixian 6086363
Workaround the C2 bug in codegen
caizixian 56b1db3
Fix for openjdk/jdk#10038
caizixian 4cc1342
Merge remote-tracking branch 'upstream/master' into jdk-20+20-mmtk
caizixian a7f8ce1
Make object barrier compile with zero
caizixian 46f6bfa
Fix for jdk-21+24
caizixian fb7c416
Fix object scanning
caizixian c79eea6
Merge tag 'v0.16.0' into jdk-21+24-mmtk-merge
caizixian bfdb591
Merge tag 'v0.17.0' into jdk-21+24-mmtk-merge
caizixian d97a371
Merge tag 'v0.18.0' into jdk-21+24-mmtk-merge
caizixian 522a713
Use stable Rust toolchain
caizixian 776baab
Merge with mmtk/mmtk-openjdk@master (#234)
caizixian e4e30f4
Add armv8 support in the binding for mmtk/jdk:jdk-21%2B24-mmtk (#249)
ArberSephirotheca fd84c30
Update commit hash for mmtk/jdk#1
caizixian 76443be
Fix eden_allocate for aarch64
caizixian 4360798
Correctly cross compile zero variants
caizixian 6e436fd
Fix build for riscv64
caizixian d071226
Fix for when not cross compiling
caizixian ba3c601
Update reserved argument area size for MMTk
wks fd218a9
Merge branch 'master' into jdk-21+35-mmtk
wks 3c8b486
Fix compilation errors
wks 47990cf
Fix mutex locking
wks 2fcf270
Revert "Workaround the C2 bug in codegen"
wks 94d30a2
Support compressed oops
wks 90c854d
Merge branch 'master' into jdk-21+35-mmtk
wks 4beaae4
Rename KlassID to KlassKind
wks c0292cc
Fix CI scripts for OpenJDK 21
wks 02d3ffe
Update running script for DaCapo Chopin
wks 78e3623
Update DaCapo Chopin to 23.11-MR2
wks e1ccac6
Merge branch 'master' into jdk-21+35-mmtk
wks 928648f
Fix extended binding test
wks 7a13278
Fix running script
wks dd2a6ca
Fix benchmark suite name
wks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
# ci-checkout.sh | ||
set -ex | ||
|
||
. $(dirname "$0")/common.sh | ||
|
||
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"])'` | ||
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"])'` | ||
|
||
# Use default openjdk path if it is not set (this is only need when MMTk core calls the script) | ||
OPENJDK_PATH=${OPENJDK_PATH:="$BINDING_PATH/repos/openjdk"} | ||
|
||
rm -rf $OPENJDK_PATH | ||
git clone $OPENJDK_URL $OPENJDK_PATH | ||
git -C $OPENJDK_PATH checkout $OPENJDK_VERSION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This is the common part of binding tests (minimal and extended) invoked from mmtk-core. | ||
|
||
set -xe | ||
|
||
. $(dirname "$0")/common.sh | ||
cur=$BINDING_PATH/.github/scripts | ||
|
||
# Use fastdebug for binding tests | ||
export DEBUG_LEVEL=fastdebug | ||
|
||
# We build OpenJDK with the "default" target, and this is the location of the Java binary. | ||
# It's equivalent to invoking "make" without an explicit target, but it's better to be explicit. | ||
export OPENJDK_BUILD_TARGET=default | ||
export TEST_JAVA_BIN=$OPENJDK_PATH/build/linux-x86_64-server-$DEBUG_LEVEL/jdk/bin/java | ||
|
||
# Download dacapo | ||
export DACAPO_PATH=$BINDING_PATH/dacapo | ||
mkdir -p $DACAPO_PATH | ||
wget https://downloads.sourceforge.net/project/dacapobench/archive/2006-10-MR2/dacapo-2006-10-MR2.jar -O $DACAPO_PATH/dacapo-2006-10-MR2.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.