Don't scan for roots in dynamic libraries
Don't scan for roots in dynamic libraries

This reduces the risk of object liveness misdetection. For example,
Glibc has an internal variable "mp_" that often points to a Boehm
object, keeping it alive unnecessarily. Since we don't store any
actual roots in global variables, we can just disable data segment
scanning.

With this, the max RSS doing 100 evaluations of
nixos.tests.firefox.x86_64-linux.drvPath went from 718 MiB to 455 MiB.

dtzWill/nix,vcunat/nix,ehmry/nix,peti/nix,layus/nix,dtzWill/nix,NixOS/nix,zimbatm/nix,zimbatm/nix,pikajude/nix,ehmry/nix,layus/nix,layus/nix,rycee/nix,peti/nix,rycee/nix,ehmry/nix,vcunat/nix,NixOS/nix,NixOS/nix,peti/nix,rycee/nix,zimbatm/nix,pikajude/nix,peti/nix,ehmry/nix,dtzWill/nix,rycee/nix,pikajude/nix,dtzWill/nix,vcunat/nix,layus/nix,layus/nix,rycee/nix,NixOS/nix,NixOS/nix,ehmry/nix,peti/nix,zimbatm/nix,dtzWill/nix,ehmry/nix,vcunat/nix