aboutsummaryrefslogtreecommitdiff
path: root/src/nix/local.mk
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-04-13 21:09:47 +0200
committerAndreas Rammhold <andreas@rammhold.de>2020-04-13 21:23:54 +0200
commitd2c371927e45c1d4e4f7e4ad331a3f68d67d5469 (patch)
treea3fc0397eb52caa7f407dca5bf02f4a8f83505b7 /src/nix/local.mk
parent512753f8247b927b62fd9391ee5ba6dda29ea4d4 (diff)
SourceExprCommand: allocate the vSourceExpr via uncollectable memory
Previously the memory would occasionally be collected during eval since the GC doesn't consider the member variable as alive / doesn't scan the region of memory where the pointer lives. By using the traceable_allocator<T> allocator provided by Boehm GC we can ensure the memory isn't collected. It should be properly freed when SourceExprCommand goes out of scope.
Diffstat (limited to 'src/nix/local.mk')
0 files changed, 0 insertions, 0 deletions