History log of /haiku/src/system/libroot/posix/malloc_hoard2/arch-specific.cpp
Revision Date Author Comments
# bfebd2b3 05-Aug-2023 Augustin Cavalier <waddlesplash@gmail.com>

libroot: Acquire the process heap lock.

Upon further investigation, the global heap lock should actually
not need to be reset, but the process heap lock will.

Change-Id: Id1fd91cc0e7acecd5b4fd76cb82d4ed2ae3900ad
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6777
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 77dd55aa 04-Aug-2023 Augustin Cavalier <waddlesplash@gmail.com>

libroot: Reinitialize global heap lock after fork.

The per-heap locks are reinitialized already by the routine which
invokes this one, but this global lock was previously missed.

May fix a deadlock reported by trungnt2910 to happen in the .NET port.


# 67f1eabc 26-Oct-2020 Murai Takashi <tmurai01@gmail.com>

libroot/posix/malloc_hoard2: Fix -Wformat=

Change-Id: I025aece61efabe2e7b32fec2fc9aec8969bd6664
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3358
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 65b77759 09-Mar-2019 Jérôme Duval <jerome.duval@gmail.com>

Move the heap reservation higher on 64-bit platforms.

this is required for AddressSanitizer to operate correctly, see
https://github.com/google/sanitizers/wiki/AddressSanitizerAlgorithm#64-bit
Change-Id: I0ab95980f8f869b3171f9cd5f9197dcee5464e06
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2555
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 1f391e37 24-Nov-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Switch back to hoard2 for now.

We'll reconsider rpmalloc when it has less overhead.