diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-06-12T13·41+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-06-12T15·49+0200 |
commit | 455d1f01d041baf58abc3c9baf5e59ee054d9c9b (patch) | |
tree | da03a435d576dde767e38fe3d0b88291c66f5f32 /src/libexpr/local.mk | |
parent | 30964103dc31c32ccb69912fdd73474cd65447e9 (diff) |
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.
Diffstat (limited to 'src/libexpr/local.mk')
0 files changed, 0 insertions, 0 deletions