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 <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
86ff706f30
commit
65b777592a
@@ -52,7 +52,7 @@ static const size_t kHeapIncrement = 16 * B_PAGE_SIZE;
|
||||
// the steps in which to increase the heap size (must be a power of 2)
|
||||
|
||||
#if B_HAIKU_64_BIT
|
||||
static const addr_t kHeapReservationBase = 0x1000000000;
|
||||
static const addr_t kHeapReservationBase = 0x100100000000;
|
||||
static const addr_t kHeapReservationSize = 0x1000000000;
|
||||
#else
|
||||
static const addr_t kHeapReservationBase = 0x18000000;
|
||||
|
||||
Reference in New Issue
Block a user