mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 03:57:30 +09:00
Revert "Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, a=RyanVM"
This reverts commit 9472136272f01b858412f2d9d7854d2daa82496f.
This commit is contained in:
parent
1d958d0390
commit
36a9805617
5 changed files with 9 additions and 49 deletions
|
|
@ -17,14 +17,6 @@ namespace jit {
|
|||
// alignment though.
|
||||
static const size_t ExecutableCodePageSize = 64 * 1024;
|
||||
|
||||
// Limit on the number of bytes of executable memory to prevent JIT spraying
|
||||
// attacks.
|
||||
#if JS_BITS_PER_WORD == 32
|
||||
static const size_t MaxCodeBytesPerProcess = 128 * 1024 * 1024;
|
||||
#else
|
||||
static const size_t MaxCodeBytesPerProcess = 1 * 1024 * 1024 * 1024;
|
||||
#endif
|
||||
|
||||
enum class ProtectionSetting {
|
||||
Protected, // Not readable, writable, or executable.
|
||||
Writable,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue