Title: [258190] trunk/JSTests
Revision
258190
Author
[email protected]
Date
2020-03-10 02:19:46 -0700 (Tue, 10 Mar 2020)

Log Message

JSC 32bits is failing on new test stress/numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access.js
https://bugs.webkit.org/show_bug.cgi?id=206864

Patch by Paulo Matos <[email protected]> on 2020-03-10
Reviewed by Yusuke Suzuki.

Add new test to memory limited devices - behaviour is the same as
numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access.js
but it creates 25 threads instead of 100.

* stress/numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access_memory-limited.js: Added.
(let.theCode):

Modified Paths

Added Paths

Diff

Modified: trunk/JSTests/ChangeLog (258189 => 258190)


--- trunk/JSTests/ChangeLog	2020-03-10 08:32:56 UTC (rev 258189)
+++ trunk/JSTests/ChangeLog	2020-03-10 09:19:46 UTC (rev 258190)
@@ -1,3 +1,17 @@
+2020-03-10  Paulo Matos  <[email protected]>
+
+        JSC 32bits is failing on new test stress/numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access.js
+        https://bugs.webkit.org/show_bug.cgi?id=206864
+
+        Reviewed by Yusuke Suzuki.
+
+        Add new test to memory limited devices - behaviour is the same as 
+        numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access.js
+        but it creates 25 threads instead of 100.
+
+        * stress/numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access_memory-limited.js: Added.
+        (let.theCode):
+
 2020-03-09  Alexey Shvayka  <[email protected]>
 
         @putByValDirect does not perform [[DefineOwnProperty]] correctly

Added: trunk/JSTests/stress/numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access_memory-limited.js (0 => 258190)


--- trunk/JSTests/stress/numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access_memory-limited.js	                        (rev 0)
+++ trunk/JSTests/stress/numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access_memory-limited.js	2020-03-10 09:19:46 UTC (rev 258190)
@@ -0,0 +1,12 @@
+//@ skip if !$memoryLimited
+//@ runDefault
+
+// This test is the same as numberingSystemsForLocale-cached-strings-should-be-immortal-and-safe-for-concurrent-access.js but generating only 20 threads for memory limited machines
+let theCode = `
+for (let i=0; i<10000; i++) {
+    0 .toLocaleString();
+}
+`;
+
+for (let i = 0; i < 25; i++)
+    $.agent.start(theCode);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to