[core/memory] Remove defered heap allocation on Linux. #2587
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bl-heaptrackfix-defer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Authored-by: weakboson weakboson@eden-emu.dev
Signed-off-by: lizzie lizzie@eden-emu.dev
abcf24a79b
toddb09e5486
ddb09e5486
tob17b696f51
b17b696f51
to4ff48e0168
4ff48e0168
toad07f4c0f6
@ -8,3 +8,3 @@
#include "common/heap_tracker.h"
#include "common/logging/log.h"
#include "common/assert.h"
Needed on line 108
@ -148,3 +168,3 @@
// Clamp to end.
next = (std::min)(next, end);
next = std::min(next, end);
Should be (std::min) cause aarch64, i think
what??
I remember you did some changes related to putting () on std::min and std::max when enabling clang-cl (and I'm almost pretty sure it didn't generated a build of this PR)
clang-cl will murder you if you don't use parentheses
@ -215,3 +191,2 @@
// lock contention.
std::size_t const desired_count = (std::min)(m_resident_map_count, m_max_resident_map_count) / 2;
std::size_t const evict_count = m_resident_map_count - desired_count;
const size_t desired_count = std::min(m_resident_map_count, m_max_resident_map_count) / 2;
Same as previous
ad07f4c0f6
to21b4c2fe86
21b4c2fe86
toa0be40edf6
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.