[core/memory] Remove defered heap allocation on Linux. #2587
No reviewers
Labels
No labels
android
audio
bug
ci
cmake
confirmed
core
desktop
duplicate
enhancement
frontend
fw
git
graphics
loader
nv gpu
ui
vulkan
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
eden-emu/eden!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
abcf24a79bddb09e5486ddb09e5486b17b696f51b17b696f514ff48e01684ff48e0168ad07f4c0f6@ -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
ad07f4c0f621b4c2fe8621b4c2fe86a0be40edf6View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.