File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,6 +117,13 @@ jobs:
117117 fi
118118 fi
119119
120+ # GraalVM pre-allocates fixed memory that conflicts with ASan's shadow range
121+ # [0x00007fff7000-0x10007fff7fff]; vm.mmap_rnd_bits tuning does not help (google/sanitizers#856).
122+ if [[ "${{ matrix.config }}" == "asan" && "${{ matrix.java_version }}" =~ graal ]]; then
123+ echo "::notice::Skipping ASan for GraalVM (incompatible shadow memory ranges — google/sanitizers#856)"
124+ exit 0
125+ fi
126+
120127 MAX_ATTEMPTS=1
121128 if [[ "${{ matrix.config }}" == "asan" && "${{ matrix.java_version }}" =~ (j9|ibm) ]]; then
122129 MAX_ATTEMPTS=2
@@ -409,6 +416,13 @@ jobs:
409416 GDB_WATCHDOG_PID=$!
410417 fi
411418
419+ # GraalVM pre-allocates fixed memory that conflicts with ASan's shadow range
420+ # [0x00007fff7000-0x10007fff7fff]; vm.mmap_rnd_bits tuning does not help (google/sanitizers#856).
421+ if [[ "${{ matrix.config }}" == "asan" && "${{ matrix.java_version }}" =~ graal ]]; then
422+ echo "::notice::Skipping ASan for GraalVM (incompatible shadow memory ranges — google/sanitizers#856)"
423+ exit 0
424+ fi
425+
412426 MAX_ATTEMPTS=1
413427 if [[ "${{ matrix.config }}" == "asan" && "${{ matrix.java_version }}" =~ (j9|ibm) ]]; then
414428 MAX_ATTEMPTS=2
You can’t perform that action at this time.
0 commit comments