Commit Graph

861 Commits

Author SHA1 Message Date
Andrew McCreight
00f806be55 Bug 958353, part 3 - Finish any IGC in progress when manually triggering an ICC slice. r=smaug 2014-05-13 11:58:39 -07:00
Andrew McCreight
a8418734ff Bug 1005232 - Log number of incremental cycle collector slices. r=smaug 2014-05-06 17:25:26 -07:00
Michael Shuen
f7ea3d18e8 Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Andrew McCreight
08092a883f Bug 949607, part 2 - Add and use runNextCollectorTimer. r=smaug 2014-04-25 13:21:04 -07:00
Andrew McCreight
be66144228 Bug 949607, part 1 - Make the GC timers more robust. r=smaug 2014-04-25 13:21:04 -07:00
Aryeh Gregor
27c437b790 Bug 990725 - Rename ErrorEvent.column to .colno to match spec change; r=smaug 2014-04-23 14:55:58 +03:00
Terrence Cole
ccf4d8dd9b Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz 2014-01-21 18:11:17 -08:00
Boris Zbarsky
a9fc4aaa02 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Boris Zbarsky
b95c359828 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Steve Fink
4e66e8bb7f Bug 912456 - transferable MessagePorts, r=jorendorff 2013-11-14 20:42:34 -08:00
Jon Coppeard
fe19032029 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Ms2ger
5960c49955 Bug 973950 - Remove sContextList from nsJSEnvironment; r=bholley 2014-03-27 21:05:15 +01:00
Bobby Holley
e8e896efbb Bug 986304 - Stop using (and kill) BindCompileEventHandler. r=bz 2014-03-21 23:31:02 -03:00
Tom Schuster
e8994b9c3d Bug 355430 - Add the column to the error event. r=bz 2014-03-20 16:46:28 +01:00
Tom Schuster
4f36f4aa76 Bug 355430 - Add the thrown error object to the dom error event. r=bz 2014-01-03 01:04:15 +00:00
Bob Owen
9a7e9ff96e Bug 978042 - Part 8: AutoPushJSContext in nsXBLProtoImplField::InstallField. r=bholley 2014-03-19 12:09:33 +00:00
Jon Coppeard
c2370455f3 Bug 959787 - Handlify some more GCing APIs r=sfink 2014-03-20 09:32:37 +00:00
Birunthan Mohanathas
b4e6f2a0bb Bug 984112 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc in dom/. r=bz 2014-03-19 13:05:04 -04:00
Masayuki Nakano
2eb2bd8616 Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug 2014-03-18 13:48:21 +09:00
Peter Van der Beken
aabdd788dd Bug 982114 - Deal with new DOM binding objects for Window in more places. r=bz. 2014-01-30 15:31:16 +01:00
Jan de Mooij
bc3d13f00a Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke 2014-02-26 10:25:36 +01:00
Andrew McCreight
357b77dcd1 Bug 963844 - Scale ICC budget by time between slices. r=smaug
If we exceed the desired length of time between ICC slices, proportionally scale up the slice budget to try to ensure a constant amount of collection work is done per unit of time, even when the browser is under heavy load.

As part of this, track the time the last slice from the current ICC ended.
2014-03-06 10:54:37 -08:00
Luke Wagner
38f3e59b91 Bug 963588 - asmjscache: place cache entries apps that request AOT compilation in persistent storage (r=janv) 2014-03-05 14:47:10 -06:00
Andrew McCreight
b6bf1f0d1f Bug 979047, part 5 - Make sure we have at least one early forgetSkippable timer fire. r=smaug
With ICC, ccDelay can get close to NS_CC_SKIPPABLE_DELAY, but we want to always want to run at least one forgetSkippable before the actual CC.
2014-03-04 16:21:48 -08:00
Andrew McCreight
23dad0ee17 Bug 979047, part 4 - Run ICCSliceTime() after PrepareForCollectionSlice. r=smaug
This way we take into account time spent finishing off a GC, or something.
2014-03-04 16:21:48 -08:00
Andrew McCreight
e7cd320eb1 Bug 979047, part 3 - Make sure we trigger a GC after a current ICC when we poke the GC. r=smaug 2014-03-04 16:21:48 -08:00
Andrew McCreight
b3d03a560b Bug 979047, part 2 - Remove unused endGCTime assignments. r=smaug 2014-03-04 16:21:48 -08:00
Andrew McCreight
a5c88f27d1 Bug 979047, part 1 - Only clear mBeginSliceTime in EndCycleCollectionCallback. r=smaug
Run FinishCycleCollectionSlice only once per slice, and only if we've previously run PrepareForCycleCollectionSlice.
2014-03-04 16:21:48 -08:00
Ed Morley
1f3bd2e264 Backed out changeset 508848ad378a (bug 939562) for causing bug 978450 2014-03-03 16:54:26 +00:00
Jan de Mooij
c741c3c67d Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke 2014-02-26 10:25:36 +01:00
Carsten "Tomcat" Book
1d6ff04f98 Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE 2014-02-26 16:02:15 +01:00
Jan de Mooij
fc5bf6c865 Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke 2014-02-26 10:25:36 +01:00
Luke Wagner
23fb13f948 Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley) 2014-02-25 09:43:14 -06:00
Boris Zbarsky
1985f8ead4 Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug,khuey 2014-02-23 00:01:12 -05:00
Andrew McCreight
21296781d2 Bug 972856 - Use PR_Now() for CC timestamp in JSON log. r=smaug 2014-02-18 09:58:40 -05:00
Julian Seward
a86b0ede10 Bug 960603 - Uninitialised value use relating to nsJSContext::EndCycleCollection. r=mccr8. 2014-02-17 13:16:23 +01:00
Luke Wagner
5ca1cad567 Bug 936236 - Send memory-pressure notification if ArrayBuffer allocation OOMs and retry allocation (r=mccr8) 2014-02-12 22:50:15 -06:00
Phil Ringnalda
64f06206bc Back out d54433699f2e (bug 936236) for adding 5 rooting hazards
CLOSED TREE
2014-02-12 23:26:28 -08:00
Luke Wagner
eb908c8106 Bug 936236 - Notify memory-pressure observers when allocating a large ArrayBuffer fails (r=mccr8) 2014-02-12 22:50:15 -06:00
Jon Coppeard
0df72e25fb Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jon Coppeard
da8e9bd5e9 Bug 965830 - Remove AutoArrayRooter from the public API r=terrence r=smaug 2014-02-11 10:59:15 +00:00
Andrew McCreight
f5f5f9da17 Bug 965916 - Do an extra GC on memory pressure if it would be productive. r=smaug 2014-02-03 07:31:11 -08:00
Terrence Cole
11a9a45a94 Bug 963738 - Fix some false positives in the Array analysis; r=jonco 2014-01-28 12:05:35 -08:00
Chris Peterson
a16cac4d58 Bug 960416 - Always use JIT hardening. r=luke 2013-12-25 00:21:59 -08:00
Terrence Cole
4a53feb64b Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 2; r=sfink 2014-01-14 17:19:07 -08:00
Tom Schuster
4a7dd51a60 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Boris Zbarsky
98f529fe13 Bug 959926. Fix some miscellaneous unsafe pointer hazards. r=terrence 2014-01-15 14:39:08 -05:00
Till Schneidereit
d05d57c5f9 Bug 958726 - Perform shrinking GC if nsJSContext::GarbageCollectNow is called with aShrinking == ShrinkingGC. r=billm 2014-01-10 23:44:28 +01:00
Andrew McCreight
d1ca98f1f4 Bug 957370 - Make 'total time' measure total time actually running the CC. r=smaug 2014-01-07 17:33:47 -08:00