aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/gc-roots-darwin.md
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-05-20 12:17:54 -0700
committereldritch horrors <pennae@lix.systems>2024-05-22 21:13:56 +0200
commitdcc7ea54986e0712666b15b502b6f89dd42b000c (patch)
treeb61015050de043a02c0b78a9cac6fe4b985d0398 /doc/manual/rl-next/gc-roots-darwin.md
parent0bf4c2971f6b57dbba3b79986d9f65ae7924260f (diff)
release notes: add a bunch of them
Also fix typos introduced by the commits I read. I have run the addDrvOutputDependencies release note past Ericson since I was confused by what the heck it was doing, and he was saying it was reasonable. Change-Id: Id015353b00938682f7faae7de43df7f991a5237e
Diffstat (limited to 'doc/manual/rl-next/gc-roots-darwin.md')
-rw-r--r--doc/manual/rl-next/gc-roots-darwin.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/rl-next/gc-roots-darwin.md b/doc/manual/rl-next/gc-roots-darwin.md
new file mode 100644
index 000000000..e8e90a397
--- /dev/null
+++ b/doc/manual/rl-next/gc-roots-darwin.md
@@ -0,0 +1,8 @@
+---
+synopsis: Find GC roots using libproc on Darwin
+cls: 723
+credits: artemist
+category: Improvements
+---
+
+Previously, the garbage collector found runtime roots on Darwin by shelling out to `lsof -n -w -F n` then parsing the result. The version of `lsof` packaged in Nixpkgs is very slow on Darwin, so Lix now uses `libproc` directly to speed up GC root discovery, in some tests taking 250ms now instead of 40s.