We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1ca97 commit d48bd16Copy full SHA for d48bd16
src/base/platform/platform-posix.cc
@@ -248,11 +248,11 @@ void* OS::GetRandomMmapAddr() {
248
// Use extra address space to isolate the mmap regions.
249
raw_addr += uint64_t{0x400000000000};
250
#elif V8_TARGET_BIG_ENDIAN
251
- // Big-endian Linux: 44 bits of virtual addressing.
+ // Big-endian Linux: 42 bits of virtual addressing.
252
raw_addr &= uint64_t{0x03FFFFFFF000};
253
#else
254
- // Little-endian Linux: 48 bits of virtual addressing.
255
- raw_addr &= uint64_t{0x3FFFFFFFF000};
+ // Little-endian Linux: 46 bits of virtual addressing.
+ raw_addr &= uint64_t{0x3FFFFFFF0000};
256
#endif
257
#elif V8_TARGET_ARCH_MIPS64
258
// We allocate code in 256 MB aligned segments because of optimizations using
0 commit comments