Closed
Bug 1260272
Opened 8 years ago
Closed 6 years ago
Add a jsapi-test that creates multiple JSRuntimes in different threads
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(2 files)
4.46 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
4.08 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
In response to a question on dev.tech.js-engine today. We already have code for creating a second JSRuntime on a thread in shell/js.cpp, but it's not the simplest possible straight-line code. I dunno, seems like something we might as well smoke-test.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8735612 -
Flags: review?(terrence)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•8 years ago
|
||
(The fork-join code is stolen from testThreadingExclusiveData.cpp.)
Attachment #8735613 -
Flags: review?(terrence)
Comment 3•8 years ago
|
||
Comment on attachment 8735612 [details] [diff] [review] Part 1: Whitespace style nits in jsapi-tests/tests.h Review of attachment 8735612 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, those have always bugged me.
Attachment #8735612 -
Flags: review?(terrence) → review+
Updated•8 years ago
|
Attachment #8735613 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4e095aa245ac330e3978bd169f27ccf23fd30020 Bug 1260272 - Part 1: Whitespace style nits in jsapi-tests/tests.h. r=terrence. https://hg.mozilla.org/integration/mozilla-inbound/rev/9dacf02bb0ef6f8adde5f4085b9c3c669fdb2f60 Bug 1260272 - Part 2: Add a test that JS_NewRuntime works on threads and multiple threads can run code, racing freely. r=terrence.
This and bug 1255128 are backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/242bab2c3b06 for breaking android cpp tests: https://treeherder.mozilla.org/logviewer.html#?job_id=27166818&repo=mozilla-inbound
Flags: needinfo?(jorendorff)
Assignee | ||
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(jorendorff)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•