Parent: #134
Profile umbrella: #140
Home inventory: #163
Bun inventory: #164
Implement the pinned private-JSC Uint8Array constructor/identity boundary as real live objects rather than link-only shims:
Bun__createUint8ArrayForCopy
JSUint8Array__fromDefaultAllocator
JSBuffer__isBuffer
Acceptance criteria:
Completed evidence
Implemented in d50972ff and documented in 3b09f171. Focused tests passed 3/3 with zero leaks; the batched engine/consumer/audit gate passed 15/15; the Home consumer fixture passed 192/192. Home is 193/431 implemented (238 pending), Bun core is 187/421 (234 pending), and the public classifier reports 117 public, 19 extensions, and 197 private/support exports.
Parent: #134
Profile umbrella: #140
Home inventory: #163
Bun inventory: #164
Implement the pinned private-JSC Uint8Array constructor/identity boundary as real live objects rather than link-only shims:
Bun__createUint8ArrayForCopyJSUint8Array__fromDefaultAllocatorJSBuffer__isBufferAcceptance criteria:
Uint8Arrayin the selected realm with the requested length.buffer=truerecords durable Bun Buffer identity andJSBuffer__isBufferdistinguishes it from ordinary Uint8Array values and non-cells.mi_free.mi_freefallback; a consumer's strong mimalloc symbol wins when present.Completed evidence
Implemented in
d50972ffand documented in3b09f171. Focused tests passed 3/3 with zero leaks; the batched engine/consumer/audit gate passed 15/15; the Home consumer fixture passed 192/192. Home is 193/431 implemented (238 pending), Bun core is 187/421 (234 pending), and the public classifier reports 117 public, 19 extensions, and 197 private/support exports.