From f5af123e20efcb9adeeb8a90ec5d2f8b5448950a Mon Sep 17 00:00:00 2001 From: emeryberger Date: Wed, 15 Jan 2020 23:53:09 -0600 Subject: [PATCH] Removed lock, hopefully concurrency errors lie elsewhere. Increased memory sample period. --- libscalene.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libscalene.cpp b/libscalene.cpp index 05d4a054a..418977b74 100644 --- a/libscalene.cpp +++ b/libscalene.cpp @@ -17,11 +17,11 @@ class TheCustomHeap; static TheCustomHeap * theCustomHeap = nullptr; -const auto MallocSamplingRate = 512 * 1024; -const auto FreeSamplingRate = 512 * 1024; +const auto MallocSamplingRate = 1024 * 1024; +const auto FreeSamplingRate = 1024 * 1024; const auto RepoSize = 4096; -typedef HL::LockedHeap>> CustomHeapType; +typedef SampleHeap> CustomHeapType; //typedef SampleHeap> CustomHeapType; class TheCustomHeap : public CustomHeapType {