Title: [288854] trunk/Source/_javascript_Core
Revision
288854
Author
[email protected]
Date
2022-01-31 15:50:49 -0800 (Mon, 31 Jan 2022)

Log Message

Try-reserving Structure heap after reserving all the other heaps including JIT heap
https://bugs.webkit.org/show_bug.cgi?id=235922

Reviewed by Saam Barati.

Structure heap should be reserved after reserving all the other heaps including JIT heap.

* runtime/InitializeThreading.cpp:
(JSC::initialize):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (288853 => 288854)


--- trunk/Source/_javascript_Core/ChangeLog	2022-01-31 23:29:31 UTC (rev 288853)
+++ trunk/Source/_javascript_Core/ChangeLog	2022-01-31 23:50:49 UTC (rev 288854)
@@ -1,3 +1,15 @@
+2022-01-31  Yusuke Suzuki  <[email protected]>
+
+        Try-reserving Structure heap after reserving all the other heaps including JIT heap
+        https://bugs.webkit.org/show_bug.cgi?id=235922
+
+        Reviewed by Saam Barati.
+
+        Structure heap should be reserved after reserving all the other heaps including JIT heap.
+
+        * runtime/InitializeThreading.cpp:
+        (JSC::initialize):
+
 2022-01-31  Zan Dobersek  <[email protected]>
 
         [RISCV64] Fix offlineasm lowering of arithmetic branch instructions with address destinations

Modified: trunk/Source/_javascript_Core/runtime/InitializeThreading.cpp (288853 => 288854)


--- trunk/Source/_javascript_Core/runtime/InitializeThreading.cpp	2022-01-31 23:29:31 UTC (rev 288853)
+++ trunk/Source/_javascript_Core/runtime/InitializeThreading.cpp	2022-01-31 23:50:49 UTC (rev 288854)
@@ -66,7 +66,6 @@
 #endif
         {
             Options::AllowUnfinalizedAccessScope scope;
-            StructureAlignedMemoryAllocator::initializeStructureAddressSpace();
             JITOperationList::initialize();
             ExecutableAllocator::initialize();
             VM::computeCanUseJIT();
@@ -78,6 +77,7 @@
                 g_jscConfig.arm64eHashPins.initializeAtStartup();
 #endif
             }
+            StructureAlignedMemoryAllocator::initializeStructureAddressSpace();
         }
         Options::finalize();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to