Skip to content

Commit b006bf1

Browse files
committed
Fixing clippy issues, running ci-test-other with 2 worker threads
1 parent 8e6b075 commit b006bf1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,16 @@ if [[ $CHOOSE_TESTS_JL_CONTENT =~ $REGEX_PATTERN ]]; then
6363
continue
6464
fi
6565

66+
if [[ $test =~ "rounding" ]]; then
67+
# Run rounding test with single thread and Julia's
68+
# heap resizing (it OOMs with a fixed heap)
69+
echo "-> Run"
70+
ci_run_jl_test $test 1 $moving_feature
71+
continue
72+
fi
73+
6674
echo "-> Run"
67-
ci_run_jl_test $test 1 $moving_feature
75+
ci_run_jl_test $test 2 $moving_feature
6876
fi
6977
done
7078
else

mmtk/src/scanning.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl Scanning<JuliaVM> for VMScanning {
132132
CONSERVATIVE_ROOTS.lock().unwrap().insert(obj);
133133
}
134134

135-
if let Some(jmpbuf) = (*eh).eh_ctx.get(0) {
135+
if let Some(jmpbuf) = (*eh).eh_ctx.first() {
136136
for buff in jmpbuf.__jmpbuf {
137137
if let Some(obj) =
138138
is_potential_mmtk_object(Address::from_usize(buff as usize))

0 commit comments

Comments
 (0)