Commit Graph

122 Commits

Author SHA1 Message Date
Wes Kocher
803fd6483c Backed out 3 changesets (bug 969786) for m-oth permabustage on a CLOSED TREE
Backed out changeset a79a64806e6c (bug 969786)
Backed out changeset 198decf16acf (bug 969786)
Backed out changeset 7d0b03e13765 (bug 969786)
2014-02-26 17:05:33 -08:00
Jim Blandy
374b46f9f3 Bug 969786: Record the introduction script in ScriptSourceObjects. r=sfink 2014-02-26 15:20:00 -08:00
Bobby Holley
30907ef9cb Bug 975277 - Introduce a mechanism to identify instances of standard classes. r=luke 2014-02-21 16:03:11 -08:00
Jan de Mooij
9bb95be4cb Backout bug 785905, off-thread IonBuilder. r=jorendorff 2014-02-14 13:17:53 +01:00
Emanuel Hoogeveen
c103d60ee0 Bug 969038 - Use the custom stack size for JS helper threads on Windows as well. r=bhackett 2014-02-07 16:17:06 -05:00
Brian Hackett
34a0dacb10 Bug 941805 - Make the pool of JS workers be per process rather than per runtime, r=billm. 2014-02-05 11:40:35 -07:00
Ryan VanderMeulen
f98cef98c3 Backed out changesets 45840c6628d7 and acadb164dbc5 (bug 941805) for causing bug 966782. 2014-02-03 08:34:51 -05:00
Brian Hackett
b6f3f5ff92 Bug 941805 - Make the pool of JS workers be per process rather than per runtime, r=billm. 2014-01-31 18:58:16 -07:00
Bobby Holley
331a1f6c7b Bug 959012 - Clean up and separate the semantics of js_{Get,Find}Class{Prototype,Object}. r=jorendorff 2014-01-30 07:45:16 -08:00
Bobby Holley
bf55a48710 Bug 959012 - When resolving iterator classes, use JSProto_Iterator instead of JSProto_GeneratorFunction. r=luke
The former triggers all of the appropriate initialization, whereas the latter
is 'imaginary' in jsprototypes.h, which means that the is no initialization
function associated with it.
2014-01-30 07:45:15 -08:00
Jim Blandy
9d5d8dda07 Bug 944121: Add options argument to the JS shell's offThreadCompileScript function. For off-thread compilation, put off initializing some slots of ScriptSourceObject until after the compartment merge. r=bhackett
--HG--
rename : js/src/jit-test/tests/basic/offThreadCompileScript.js => js/src/jit-test/tests/basic/offThreadCompileScript-01.js
2014-01-22 16:41:16 -08:00
Jim Blandy
0330e571cb Bug 944121: Make js::ParseTask use PersistentRooted instead of AddObjectRoot / JS_RemoveObjectRoot. r=bhackett 2014-01-22 16:41:15 -08:00
Luke Wagner
2108045c2d Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
--HG--
extra : rebase_source : aa831d41e1b04062e208d5c36697da1f5e1c7d07
2014-01-20 18:00:18 -06:00
Nathan Froyd
fdf1d4fe0c Backout dc82a01d0cfe (bug 961318) for various JavaScript test failures on this CLOSED TREE 2014-01-20 20:09:59 -05:00
Luke Wagner
82167b9620 Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
--HG--
extra : rebase_source : bd4e6b296e7a02dbe2370a515174dcd1a6a57ffa
2014-01-20 18:00:18 -06:00
Luke Wagner
301a4f71cc Bug 960860 - Don't include zlib.h from jsutil.h (r=njn)
--HG--
extra : rebase_source : 668c256e7867091b1fd747270f03907b09f363b2
2014-01-17 09:15:59 -06:00
Till Schneidereit
2af809133c Bug 886193 - Part 2: Introduce JSScript::nonDelazifyingFunction and use it whereever possible. r=jandem
--HG--
extra : rebase_source : cd6926e6e1fead242263e50763ce89348b5e9cd5
2014-01-09 17:13:25 +01:00
Steve Singer
92cec17caf Bug 950513 - Add jsscriptinlines to fix sparc64 link errors. r=luke 2014-01-06 12:40:03 -05:00
Jon Coppeard
b04d819584 Bug 930427 - Add a compartment option specifically for mergable compartments r=billm 2014-01-03 10:30:51 +00:00
Terrence Cole
134827abc4 Bug 952344 - Allow AutoAssertNoGC to be used safely off-thread; r=sfink 2013-12-19 16:55:19 -08:00
Brian Hackett
23bed0a793 Bug 950513 - Remove JS_WORKER_THREADS typedef, r=luke. 2013-12-19 11:56:27 -08:00
Hannes Verschore
f03d2221bd Bug 939614: IonMonkey: Split IonOptions in IonOptions and IonOptimizations, r=jandem 2013-12-12 15:14:12 +01:00
Jon Coppeard
b70258b947 Bug 930427 - Don't allow merge of debugger-visible compartments r=billm 2013-12-17 10:41:28 +00:00
Brian Hackett
03fbbbdef7 Bug 785905 - Build Ion MIR graph off thread, r=jandem. 2013-12-16 10:53:02 -08:00
Shu-yu Guo
86b703757e Bug 949916 - Fix race between off-main-thread-compilation and PJS. (r=bhackett) 2013-12-12 23:23:57 -08:00
Brian Hackett
4956d62509 Bug 948230 - Use accessor methods for JSScript bitfields, r=jandem. 2013-12-10 18:22:28 -08:00
Luke Wagner
25224d3b97 Bug 948183 - OdinMonkey: don't notifyAll when starting an AsmJSParallelTask (r=sstangl)
--HG--
extra : rebase_source : ac681cb509a49b6ff84c184e4589d4e5bd4e3760
2013-12-09 17:44:22 -06:00
Brian Hackett
244e6f9039 Bug 943924 - Use default stack size for JS worker threads on Windows, r=billm. 2013-12-06 16:22:20 -08:00
Luke Wagner
ce90c6d205 Bug 931864 - remove the activeGCInAtomsZone limitation in JS::CanCompileOffThread (r=billm)
--HG--
extra : rebase_source : d0652c47ca940810ad32e4f34aa23a032f585479
2013-11-22 15:45:18 -06:00
Luke Wagner
67e26042cb Bug 941827 - Use off-main-thread parsing even if GetCPUCount() == 1 (r=bhackett) 2013-11-29 08:54:26 -06:00
Brian Hackett
ac5d737b32 Bug 942984 - Set native stack limit for JS worker threads, r=billm. 2013-11-26 19:18:04 -07:00
Brian Hackett
7f759cc31f Bug 938950 - Don't provide full access to compartment/zone/runtime during Ion compilation, r=jandem. CLOBBER 2013-11-19 08:37:52 -07:00
Jan de Mooij
fa9bdf4ef9 Bug 937540 part 5 - Use placement new syntax for MIR instructions. r=bhackett
--HG--
extra : rebase_source : 94cef1cdd9875c9ed5806c982e8109637bdcfbd1
2013-11-18 00:00:07 +01:00
Brian Hackett
75104ead5e Bug 928050 - Remove worker pausing mechanism, r=billm. 2013-11-17 15:33:09 -07:00
Jim Blandy
3f0255bcbd Bug 887077: Use OwningCompileOptions for off-main-thread compilation. r=terrence 2013-11-07 21:17:07 -08:00
Jim Blandy
3d947f96ef Bug 887077: Use ReadOnlyCompileOptions in preference to CompileOptions where possible. r=terrence 2013-11-07 21:07:18 -08:00
Jan de Mooij
7a574949b8 Bug 931039 - Rename IonRuntime/IonCompartment to JitRuntime/JitCompartment. r=h4writer
--HG--
rename : js/src/jit/IonCompartment.h => js/src/jit/JitCompartment.h
2013-10-28 11:33:01 +01:00
Luke Wagner
e12d87b673 Bug 931048 - fix NULL crash on OOM in handleAsmJSWorkload (r=sstangl)
--HG--
extra : rebase_source : c75b32da99f1520333671b6712e2a9ae3fb6716a
2013-10-25 13:33:49 -05:00
Terrence Cole
da374dbcbd Bug 928056 - Do not pause for background compilation before ggc; r=bhackett,r=billm
--HG--
extra : rebase_source : 60b4f5539f30213836c3acc87f8aa88404dd52eb
2013-10-17 14:42:46 -07:00
Shu-yu Guo
5a7ffd2976 Bug 903193 - Part 5: Refactor SetPropertyHelper and friends to have a thread local variant. (r=bhackett) 2013-10-08 15:14:04 -07:00
Birunthan Mohanathas
f22dfead05 Bug 784739 - Switch from NULL to nullptr in js/src/ (8/9); r=ehsan
--HG--
extra : rebase_source : abf588d83823e82d4b2b6758a907ce809f993ddf
2013-10-07 12:44:28 -04:00
Brian Hackett
aef42563a1 Bug 916753, Bug 916531, Bug 916504 - Fix various deadlocks, r=billm,jandem. 2013-09-17 11:29:28 -06:00
Brian Hackett
b4cd0d2371 Bug 915687 - Watch for type objects with lazy protos when merging off thread parses, r=billm. 2013-09-12 16:21:51 -06:00
Brian Hackett
50b241c8d8 Bug 906371 - Use off thread JS parsing when loading async scripts, r=bz,billm. 2013-09-11 17:42:09 -06:00
Dan Gohman
a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Brian Hackett
ab53a10348 Bug 912719 - Notify debugger about scripts compiled off thread, report parse errors/warnings for scripts in XUL documents, r=billm. 2013-09-10 16:18:30 -07:00
Hannes Verschore
b256816698 Bug 913415: Tracelogging: Add support for logging multiple threads + initial support for ion background thread compiler, r=till 2013-09-06 15:30:09 +02:00
Brian Hackett
2209a370c7 Bug 911204 - Directly heap allocate CompileErrors when parsing off thread, r=billm. 2013-09-02 10:06:43 -07:00
Brian Hackett
93b0c40815 Bug 908699 - Allow generating parse errors and warnings when off the main thread, r=billm. 2013-08-29 09:56:05 -06:00
Brian Hackett
ab9cf1c836 Bug 908301 - Remove dedicated source compression thread, use JS worker threads instead, allow saving source when parsing off thread, r=benjamin. 2013-08-27 11:48:55 -06:00