Commit Graph

39988 Commits

Author SHA1 Message Date
Terrence Cole
97c65455fd Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Joel Maher
4d19dd2865 Bug 1131110 - disable test_bug484459.xul for windows and osx. r=bholley 2015-05-19 10:02:20 -04:00
Brian Hackett
4a0b806865 Bug 1163091 - Handle unboxed arrays in jsarray.cpp fast paths, r=jandem. 2015-05-19 07:57:41 -06:00
Jon Coppeard
8866b384ee Bug 1165843 - Don't fire the pre-barrier in HeapPtr destructor r=terrence 2015-05-19 10:15:06 +01:00
Nicholas Nethercote
0d6699fa8f Bug 1103375 - Fix some crashes triggered from about:memory. r=mrbkap.
We can't call JS code while iterating over the JS heap in the JS memory
reporter. The Yandex Elements add-on is causing this in two cases.

- The add-on implements some nsIURI objects. This one's easy to work around,
  because GetLocation() can just skip any JS-implemented nsIURI objects.

- The add-on implements some nsIProtocolHandler objects in order to
  implement a custom "xb://" scheme. This one is harder to workaround because
  the call to the JS object's method occurs deep within NS_NewURI(), well
  beyond the JS reporter code. So we just skip "xb://" URLs.
2015-05-18 23:06:01 -07:00
Brian Hackett
c6d4ccd5b1 Bug 1067610 - Refactor backtracking allocator to handle grouped registers better, r=sunfish. 2015-05-18 20:20:14 -06:00
Terrence Cole
03733eb59a Backed out changeset 1d26ba5fa305 (bug 1163790) on a CLOSED TREE 2015-05-18 13:31:04 -07:00
Terrence Cole
26d2d028ed Backed out changeset 489740128625 (bug 1163790) on a CLOSED TREE 2015-05-18 13:30:54 -07:00
Terrence Cole
717bb9556f Backed out changeset e554fdb83c5f (bug 1163810) on a CLOSED TREE 2015-05-18 13:30:43 -07:00
Terrence Cole
4aa110081a Bug 1163810 - Use type-based dispatch for IncrementalReferenceBarrier; r=jonco 2015-05-13 19:13:49 -07:00
Terrence Cole
3777bd583f Bug 1163790 - Part 2: Share inlined Class tracing between marking and tenuring; r=bhackett 2015-05-13 11:06:52 -07:00
Terrence Cole
85251d3e4c Bug 1163790 - Part 1: Share unboxed trace list traversal between tenuring and marking; r=bhackett 2015-05-12 09:26:36 -07:00
Ryan VanderMeulen
d1cc1b3152 No bug - Bump the Windows stack frame size. r=shu 2015-05-15 18:17:13 -04:00
Andrea Marchesini
6ce7c91736 Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan 2015-05-18 14:52:26 +01:00
Jon Coppeard
33cc978f9f Bug 1164815 - Use an enum to define GlobalObject slot constants r=luke 2015-05-18 09:58:04 +01:00
Brian Hackett
988072bc23 Bug 1162199 - Use unboxed objects by default, r=jandem. 2015-05-17 20:12:14 -06:00
Jinank Jain
d4758640f7 Bug 1142826 - js/src/jsapi-tests/testMutedErrors.cpp has leaks. r=luke 2015-05-13 22:47:47 +02:00
Phil Ringnalda
06c1a0b6e4 Back out 356231081116 (bug 1162199) for js::GCMarker::eagerlyMarkChildren crashes
CLOSED TREE
2015-05-16 10:38:07 -07:00
Brian Hackett
9d68dad00c Bug 1162199 - Use unboxed objects by default, r=jandem. 2015-05-16 09:16:38 -06:00
Nicholas Nethercote
0addd071a9 Back out all four patches from bug 1161377. r=me.
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).
2015-05-14 21:48:43 -07:00
Ryan VanderMeulen
d7c9bcbe6d Backed out changeset b3902a6225c3 (bug 1142816) for introducing new rooting hazards.
CLOSED TREE
2015-05-15 16:26:53 -04:00
Ryan VanderMeulen
84014d439e Backed out 8 changesets (bug 1147403) for debug asserts on a CLOSED TREE.
Backed out changeset a1018d31e591 (bug 1147403)
Backed out changeset fdb1dcf35e04 (bug 1147403)
Backed out changeset 66ab1f789052 (bug 1147403)
Backed out changeset 8ee01e148887 (bug 1147403)
Backed out changeset 615c601284e3 (bug 1147403)
Backed out changeset d7a4b4c31c94 (bug 1147403)
Backed out changeset b1abceaf0f6e (bug 1147403)
Backed out changeset 443b1a2a084f (bug 1147403)
2015-05-15 15:28:48 -04:00
Tom Schuster
3b13f1728c Bug 1059908 - Introduce a CONSTRUCTOR flag and make getter/setter/method non-constructable. r=efaust 2015-05-15 20:53:03 +02:00
Tom Schuster
2946b4f52f Bug 1059908 - Merge FunctionType and FunctionSyntaxKind. r=efaust 2015-05-15 20:53:03 +02:00
Steve Fink
5bd61fb11b Bug 944164 - Move a bunch of file-related stuff onto an os.file object, creating aliases from the old names, r=jorendorff 2015-05-13 15:16:26 -07:00
Terrence Cole
8800519328 Bug 1132744 - Update set of GC types, r=sfink 2015-05-13 13:32:17 -07:00
Jinank Jain
da322925c0 Bug 1142816 - js/src/jsapi-tests/testGCHeapPostBarriers.cpp has leaks. r=terrence DONTBUILD 2015-05-13 22:58:11 +02:00
Eric Rahm
6b1c5df17e Backed out changeset b3902a6225c3 (bug 1142816) 2015-05-15 11:32:43 -07:00
Jinank Jain
f68ff5facb Bug 1142816 - js/src/jsapi-tests/testGCHeapPostBarriers.cpp has leaks 2015-05-13 22:58:11 +02:00
Jinank Jain
cf6d01d7f1 Bug 1142820 - js/src/jsapi-tests/testPersistentRooted.cpp has leaks. r=jonco 2015-05-14 14:40:14 +02:00
Nicolas B. Pierron
14ef503b6b Bug 1147403 part 7 - Fix inIon, only reset the counter when the function is executed. r=jandem 2015-05-15 20:19:03 +02:00
Nicolas B. Pierron
930393dcda Bug 1147403 part 6 - Remove GetJitContext from serializing functions. r=h4writer 2015-05-15 20:19:03 +02:00
Nicolas B. Pierron
5062307753 Bug 1147403 part 5 - Add Debugger::onIonCompilation hook. r=shu 2015-05-15 20:19:03 +02:00
Nicolas B. Pierron
489a21efb0 Bug 1147403 part 4 - Extract the printer from the serializer. r=h4writer 2015-05-15 20:19:02 +02:00
Nicolas B. Pierron
fda55a2e58 Bug 1147403 part 3 - Make IonSpewer work during off-thread compilation. r=h4writer 2015-05-15 20:19:02 +02:00
Nicolas B. Pierron
e50734b554 Bug 1147403 part 2 - IonMonkey: Use GenericPrinter& instead of FILE* for *::dump functions. r=h4writer 2015-05-15 20:19:02 +02:00
Nicolas B. Pierron
d1f4cb62ee Bug 1147403 part 1 - Move Sprinter into its own header and add a FILE & LifoAlloc variants. r=h4writer 2015-05-15 20:19:01 +02:00
Nicolas B. Pierron
10fbe5dfe8 Bug 1147403 part 0 - Replace contextual information of dispatchHook by lambdas. r=shu 2015-05-15 20:19:01 +02:00
Geoff Brown
e890900847 Bug 1164101 - Avoid unreachable code warning in shell.js; r=bc 2015-05-15 11:59:04 -06:00
Andrew McCreight
e4a508dec8 Bug 1158558, part 2 - Finish incremental GCs in progress in BeginCollection() and ShutdownCollect(). r=smaug
Various parts of the first half of BeginCollection() can start an incremental GC.
This is bad because running the GC and CC at the same time can cause the CC to end
up with pointers to dead JS objects.

To avoid this, we finish any incremental GC in progress in BeginCollection. This
is slow, but hopefully it is rare.
2015-05-15 10:33:09 -07:00
Andrew McCreight
92314c1891 Bug 1164042 - Log weak map entries in DumpHeapComplete. r=terrence 2015-05-15 10:33:08 -07:00
Carsten "Tomcat" Book
1e8dae91e1 Backed out changeset c112db453761 (bug 1162199) for Android m4 test failures on a CLOSED TREE 2015-05-15 09:03:42 +02:00
Tooru Fujisawa
e8992a9f09 Bug 1131043 - Part 3: Fix ecma_6/TypedArray/slice.js to check %TypedArray%[@@species] instead of Symbol.species. r=bustage 2015-05-15 12:39:44 +09:00
Tooru Fujisawa
c6b3b9ab27 Bug 1131043 - Part 2: Implement Map[@@species] and Set[@@species] getter. r=evilpie 2015-05-15 11:47:18 +09:00
Tooru Fujisawa
57398a8291 Bug 1131043 - Part 1: Add Symbol.species. r=evilpie 2015-05-15 11:47:18 +09:00
Brian Hackett
69d9d39f9c Bug 1162199 - Use unboxed objects by default, r=jandem. 2015-05-14 16:36:37 -06:00
Eric Rahm
37808e571f Bug 1164620 - Part 1: Remove instances of #ifdef PR_LOGGING in various places. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Daniel Holbert
14e1cf68d0 Bug 1050500 followup: Annotate js.cpp "Exit()" method as "override". rs=ehsan 2015-05-14 09:14:15 -07:00
Till Schneidereit
c8b4e1c4e8 Bug 861219 - Part 1: Make Date.prototype not be a Date object. r=bholley 2014-05-26 13:04:55 +02:00
Tooru Fujisawa
1a606487e3 Bug 861219 - Part 0: Make ClassSpec be able to delegate to another ClassSpec. r=bholley 2015-05-14 13:03:14 +09:00