mirror of
https://github.com/gperftools/gperftools
synced 2025-01-31 03:31:36 +00:00
enable 48-bit page map on msvc as well
This commit is contained in:
parent
83d6818295
commit
0c0e2fe43b
@ -121,7 +121,7 @@ static const int kMaxDynamicFreeListLength = 8192;
|
||||
|
||||
static const Length kMaxValidPages = (~static_cast<Length>(0)) >> kPageShift;
|
||||
|
||||
#if __aarch64__ || __x86_64__
|
||||
#if __aarch64__ || __x86_64__ || _M_AMD64 || _M_ARM64
|
||||
// All current x86_64 processors only look at the lower 48 bits in
|
||||
// virtual to physical address translation. The top 16 are all same as
|
||||
// bit 47. And bit 47 value 1 reserved for kernel-space addresses in
|
||||
|
Loading…
Reference in New Issue
Block a user