aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChia-hung Duan <chiahungduan@google.com>2023-03-24 17:06:29 +0000
committerChia-hung Duan <chiahungduan@google.com>2023-03-24 17:10:49 +0000
commite74834f9bb6bb608e00e2cd230cb3b63df0803b9 (patch)
treea70a6da14571a62c41719460db4c70f5f4319ad3 /flang/lib/Frontend/CompilerInvocation.cpp
parent70022e5bbf84db449ef7d72c1adb4d6094785aae (diff)
downloadllvm-e74834f9bb6bb608e00e2cd230cb3b63df0803b9.zip
llvm-e74834f9bb6bb608e00e2cd230cb3b63df0803b9.tar.gz
llvm-e74834f9bb6bb608e00e2cd230cb3b63df0803b9.tar.bz2
[scudo] Use bytes-in-freelist as a hint of page release
Tracking the pushed bytes between to releaseToOSMaybe calls may lead to a overestimated case that if we do malloc 2KB -> free 2KB -> malloc 2KB -> free 2KB, we may think we have released 4KB but it only releases 2KB actually. Switch to use bytes-in-freelist excludes more cases that can't release the pages Reviewed By: cferris Differential Revision: https://reviews.llvm.org/D146400
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions