Skip to content

Commit f91d3cf

Browse files
committed
fix(mimalloc): bump pin, allowlist outline-atomic relax/rel variants, update initializer count
- Pin → 09fed41b (adds purge-bit-restore on failed claim) - aarch64 allowlist: add ldclr8_relax, ldset8_relax, swp8_rel, swp8_relax — same compiler-rt outline-atomics family as the existing entries, just the relaxed/release memory-order variants that dev3 bitmap code reaches - static-initializers.test: assertion now matches the comment (was already written for v3)
1 parent eb1bae3 commit f91d3cf

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

scripts/build/deps/mimalloc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import type { Dependency, NestedCmakeBuild, Provides } from "../source.ts";
77

8-
const MIMALLOC_COMMIT = "2e94216f7faea0a62c037bef30b1e05ebdf86360";
8+
const MIMALLOC_COMMIT = "09fed41b098f2f329b2d8cfa0ee4fb55b21c53fa";
99

1010
export const mimalloc: Dependency = {
1111
name: "mimalloc",

scripts/verify-baseline-static/allowlist-aarch64.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ __aarch64_ldclr1_acq_rel [LSE]
9494
__aarch64_ldclr2_acq_rel [LSE]
9595
__aarch64_ldclr4_acq_rel [LSE]
9696
__aarch64_ldclr8_acq_rel [LSE]
97+
__aarch64_ldclr8_relax [LSE]
9798
__aarch64_ldeor1_acq_rel [LSE]
9899
__aarch64_ldeor2_acq_rel [LSE]
99100
__aarch64_ldeor4_acq_rel [LSE]
@@ -102,6 +103,7 @@ __aarch64_ldset1_acq_rel [LSE]
102103
__aarch64_ldset2_acq_rel [LSE]
103104
__aarch64_ldset4_acq_rel [LSE]
104105
__aarch64_ldset8_acq_rel [LSE]
106+
__aarch64_ldset8_relax [LSE]
105107
__aarch64_swp1_acq [LSE]
106108
__aarch64_swp1_acq_rel [LSE]
107109
__aarch64_swp1_relax [LSE]
@@ -110,6 +112,8 @@ __aarch64_swp4_acq [LSE]
110112
__aarch64_swp4_acq_rel [LSE]
111113
__aarch64_swp4_rel [LSE]
112114
__aarch64_swp8_acq_rel [LSE]
115+
__aarch64_swp8_rel [LSE]
116+
__aarch64_swp8_relax [LSE]
113117

114118

115119
# ----------------------------------------------------------------------------

test/js/bun/perf/static-initializers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ describe("static initializers", () => {
6868
expect(
6969
bunInitializers.length,
7070
`Do not add static initializers to Bun. Static initializers are called when Bun starts up, regardless of whether you use the variables or not. This makes Bun slower.`,
71-
).toBe(process.arch === "arm64" ? 1 : 2);
71+
).toBe(process.arch === "arm64" ? 2 : 3);
7272
});
7373
});

0 commit comments

Comments
 (0)