Commit Graph

139 Commits

Author SHA1 Message Date
Nicholas Nethercote
93abbb41bc Bug 1001159 (part 1) - Split CellIterImpl and subclasses in two. r=billm.
--HG--
extra : rebase_source : 20203cad0af54bd9bea81b8ff5c2e7016e14c3c2
2014-04-28 23:39:44 -07:00
Ben Kelly
0e313df0aa Bug 987556 Part 2 Use JS::SourceBufferHolder in frontend::ByteCompiler API. r=luke 2014-04-25 10:11:56 -04:00
Dan Gohman
c6211f7aa7 Bug 998172 - SpiderMonkey: Eliminate unnecessary parentheses around return values. r=nbp 2014-04-18 11:13:44 -07:00
Brian Hackett
eeafed79a2 Bug 992256 - Crash on OOM during worker thread initialization, r=h4writer. 2014-04-11 17:17:18 -06:00
Hannes Verschore
b69446b27b Bug 994163 - TraceLoggeing: Fix --disable-threadsafe builds, r=bbouvier 2014-04-11 23:33:20 +02:00
Bobby Holley
c8667e5859 Bug 993438 - Infer the eventual compartment for OMT-compiled script when the script is retrieved. r=billm
Currently, the script gets put in a compartment specified when the compilation
is initiated. Later on, when we retrieve that script and try to execute it, we
won't necessarily be in the same compartment. Currently, SM just handles this
and clones the script, but it's simpler and more efficient to just create the
script in the compartment of whoever calls FinishOffThreadScript.

Note that the existing code actually has a hazard in which the call to
GetBuiltinPrototypePure returns null - it just wasn't exercised in automation
(and was triggered by onNewScript-off-main-thread.js with this patch).
2014-04-11 08:47:43 -07:00
Hannes Verschore
9d3237836f Bug 944392 - Tracelogging: Move to vm subdirectory, r=till,bbouvier
--HG--
rename : js/src/TraceLogging.cpp => js/src/vm/TraceLogging.cpp
rename : js/src/TraceLogging.h => js/src/vm/TraceLogging.h
2014-04-09 14:21:20 +02:00
Hannes Verschore
851fbf17f2 Bug 989152 - Tracelogging: Add support for TLLOG flags, r=till 2014-04-09 14:20:56 +02:00
Hannes Verschore
69f9e9cfcf Bug 944392 - Tracelogging: Land version 0.2, r=till,bbouvier 2014-04-09 14:20:39 +02:00
Eric Faust
edf5e61761 Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm) 2014-04-04 16:58:08 -07:00
Shu-yu Guo
d06936982e Bug 989509 - Part 1: js/ (r=luke) 2014-04-03 19:29:40 -07:00
Jan de Mooij
a77b209970 Bug 985526 part 2 - Use notifyOne instead of notifyAll in StartOffThreadParseScript and StartOffThreadCompression. r=bhackett 2014-03-20 12:05:46 +01:00
Jan de Mooij
f036cc5235 Bug 985526 - Use notifyOne instead of notifyAll in StartOffThreadIonCompile. r=bhackett 2014-03-19 17:31:12 +01:00
Brian Hackett
ae18c1f2c7 Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Jason Orendorff
895cad1541 Bug 975589, part 4 - Rename js_GetClassObject -> js::GetBuiltinConstructor and make it never return true without the desired constructor actually existing. r=jwalden. 2014-03-10 16:30:40 -05:00
Jason Orendorff
3e89ce1e7c Bug 977287, part 1 - Rename the "operation callback" to "interrupt callback". r=luke. 2014-03-10 16:28:43 -05:00
Jim Blandy
a153615bb8 Bug 969786: Record the introduction script in ScriptSourceObjects. r=sfink 2014-02-26 15:20:00 -08:00
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