From 6201b8aec98f19939a68e8a0bf7ff5c9e14192cc Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Wed, 27 Nov 2024 02:45:20 +0000 Subject: [PATCH] Add tests with large heap size --- .github/scripts/ci-test-large-heap.sh | 13 +++++++++++++ .github/workflows/run-dacapo-2006.yml | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 .github/scripts/ci-test-large-heap.sh diff --git a/.github/scripts/ci-test-large-heap.sh b/.github/scripts/ci-test-large-heap.sh new file mode 100755 index 00000000..8502aba3 --- /dev/null +++ b/.github/scripts/ci-test-large-heap.sh @@ -0,0 +1,13 @@ +set -xe + +. $(dirname "$0")/common.sh + +# With a heap size larger than 4G, OpenJDK encodes compressed pointers differently. +# Run a few plans with heap size larger than 4G. + +MMTK_PLAN=Immix runbms_dacapo2006_with_heap_size fop 20 8000 +MMTK_PLAN=GenImmix runbms_dacapo2006_with_heap_size fop 20 8000 +MMTK_PLAN=StickyImmix runbms_dacapo2006_with_heap_size fop 20 8000 +MMTK_PLAN=GenCopy runbms_dacapo2006_with_heap_size fop 20 8000 +MMTK_PLAN=MarkCompact runbms_dacapo2006_with_heap_size fop 20 8000 +MMTK_PLAN=MarkSweep runbms_dacapo2006_with_heap_size fop 20 8000 diff --git a/.github/workflows/run-dacapo-2006.yml b/.github/workflows/run-dacapo-2006.yml index c353bf44..6decf961 100644 --- a/.github/workflows/run-dacapo-2006.yml +++ b/.github/workflows/run-dacapo-2006.yml @@ -45,7 +45,11 @@ jobs: strategy: fail-fast: false matrix: - test-script: ["ci-test-only-normal", "ci-test-only-normal-no-compressed-oops", "ci-test-only-weak-ref"] + test-script: + - ci-test-only-normal + - ci-test-only-normal-no-compressed-oops + - ci-test-only-weak-ref + - ci-test-large-heap steps: # We need to check out the binding repo to get the running configs and test scripts - name: Checkout MMTk OpenJDK binding