Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JSC] Do not use bytecode cache on $.agent worker threads
Patch by Geza Lore <glore@igalia.com> on 2022-05-23 https://bugs.webkit.org/show_bug.cgi?id=240642 Reviewed by Yusuke Suzuki. Workers started via $.agent.start are not shut down in a synchronous manner, and it is possible the main thread terminates the process while a worker is writing its bytecode cache, which results in intermittent test failures. As $.agent.start is only a rarely used testing facility, we simply do not cache bytecode on these threads. Also un-skip test on ARMv7 that used to fail because of this. * Source/JavaScriptCore/jsc.cpp: (Worker::isMain const): (Worker::Worker): (runJSC): * JSTests/stress/lars-sab-workers.js: Canonical link: https://commits.webkit.org/250858@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
1a6e1cb
commit 20ac310fd8a9017c3021563c68365c61b484495a
Showing
2 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,4 +1,3 @@ | ||
//@ skip if $architecture == "arm" | ||
//@ defaultRunNoisyTest | ||
var sab = new SharedArrayBuffer(100 * 4); | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters