lix/src
Artemis Tosini c03de0df62 gc: Find roots using libproc on Darwin
Previously, the garbage collector found runtime roots on Darwin by
shelling out to `lsof -n -w -F n` then parsing the result.
However, this requires an lsof binary and can be extremely slow.

The official Apple lsof returns in a reasonable amount of time,
about 250ms in my tests, but the lsof packaged in nixpkgs is quite slow,
taking about 40 seconds to run the command.

Using libproc directly is about the same speed as Apple lsof,
and allows us to reënable several tests that were disabled on Darwin.

Change-Id: Ifa0adda7984e13c15535693baba835aae79a3577
2024-04-25 23:24:21 -04:00
..
build-remote Remove HintFmt::operator% 2024-03-26 15:40:05 -07:00
libcmd libcmd: install generated headers as well 2024-04-11 13:36:04 +00:00
libexpr don't boost::to_few_args when an eval cached string type errors 2024-04-10 18:30:12 -06:00
libfetchers remove extraneous cache entry from github fetcher 2024-04-21 10:46:05 +00:00
libmain meson: install pkg-config files for libraries 2024-03-29 02:45:48 +00:00
libstore gc: Find roots using libproc on Darwin 2024-04-25 23:24:21 -04:00
libutil gc: Find roots using libproc on Darwin 2024-04-25 23:24:21 -04:00
nix filetransfer: remove decompress request parameter 2024-04-25 01:33:08 +02:00
nix-build Move shell_words into its own file 2024-03-26 16:44:04 -07:00
nix-channel Format Nix code with nixfmt 2024-04-08 13:00:00 -07:00
nix-collect-garbage util.hh: split out signals stuff 2024-03-11 00:52:09 -07:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env Format Nix code with nixfmt 2024-04-08 13:00:00 -07:00
nix-instantiate Unify and refactor value printing 2024-03-09 03:50:06 +01:00
nix-store libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
resolve-system-dependencies libutil: make AutoCloseFD a better resource 2024-03-18 15:42:52 -06:00
meson.build meson: implement functional tests 2024-03-27 18:37:50 -06:00