Commit Graph

1266 Commits

Author SHA1 Message Date
Terrence Cole
0c14b45d43 Bug 1190457 - Replace AutoPropertyDescriptorVector with normal Rooted usage; r=jonco 2015-08-03 17:30:47 -07:00
Terrence Cole
88a0da84b4 Bug 1189112 - Part 2: simplify rooting of ScriptsAndCountsVector with PersistentRooted; r=nbp 2015-07-29 14:59:49 -07:00
Terrence Cole
71e48ef414 Bug 1189072 - Make DefaultTracer for struct types call T::trace; r=fitzgen 2015-07-29 14:59:49 -07:00
Terrence Cole
530a7130e8 Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink 2015-07-28 09:21:32 -07:00
Terrence Cole
dfd81db57a Bug 1189809 - Remove the ill-fated DynamicTraceable; r=jonco 2015-07-31 08:27:12 -07:00
Jon Coppeard
ecb3e74e2c Bug 1189722 - Fix const methods in MutableTraceableVectorOperations r=terrence 2015-08-03 11:47:11 +01:00
Nick Fitzgerald
07767506e7 Bug 1189490 - Follow ups: Move [Traceable]Fifo to js/src/ds; r=terrence 2015-07-31 13:27:44 -07:00
Nick Fitzgerald
6a392e365a Bug 1189490 - Part 1: Add a StaticTraceable version of the FIFO queue for use with GC things; r=terrence 2015-07-31 13:27:44 -07:00
Nick Fitzgerald
3e295874cf Bug 1189490 - Part 0: Add a FIFO queue container type to js/public; r=terrence 2015-07-31 13:27:44 -07:00
Ehsan Akhgari
601be5726d Bug 1188208 - Fix more constructors in js; r=jorendorff 2015-07-30 14:03:17 -04:00
Wes Kocher
f2d9a80ea2 Backed out changeset 54a082b01174 (bug 1188197) for various SM and CPP failures CLOSED TREE 2015-07-29 16:46:20 -07:00
Wes Kocher
adc7d30a0e Backed out changeset a5c748f78e97 (bug 1188445) 2015-07-29 16:46:19 -07:00
Terrence Cole
c02a78110f Bug 1188445 - Allow PersistentRooted to store StaticTraceable; r=sfink 2015-07-28 09:21:32 -07:00
Terrence Cole
0d78b57012 Bug 1188197 - Allow PersistentRooted to store DynamicTraceable; r=sfink 2015-07-24 15:09:28 -07:00
Ryan VanderMeulen
7e14fbd090 Bug 1180017 - Fix up the badly-horked backout and re-land.
CLOSED TREE
2015-07-29 12:31:47 -04:00
Jim Blandy
2b89c02c18 Bug 1180017 - Give GCCellPtr is<T> and to<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-03 15:06:23 -07:00
Carsten "Tomcat" Book
a908483c16 Backed out changeset 465793bc6fcf (bug 1180017) for suspicion of causing bug 1188799 2015-07-29 15:27:12 +02:00
Jim Blandy
04e076a9d6 Bug 1180017: Give GCCellPtr is<T> and as<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-07 09:52:01 -07:00
Nick Fitzgerald
94a8232ed5 Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-28 13:04:56 -07:00
Terrence Cole
cc4a126d34 Bug 1188129 - Use a universal constructor to create and init PersistentRooted; r=jonco 2015-07-24 15:08:09 -07:00
Terrence Cole
9f43b94e8c Bug 1188124 - Use rootKind to select the right PersistentRooted list head; r=sfink 2015-07-23 14:05:53 -07:00
Wes Kocher
7596dc8b82 Backed out 8 changesets (bug 1028418) for assertions in SavedStacks.cpp:103 CLOSED TREE
Backed out changeset 8f20146ce3c8 (bug 1028418)
Backed out changeset f6e78ff75f4b (bug 1028418)
Backed out changeset caf840e71590 (bug 1028418)
Backed out changeset ba47cb00a938 (bug 1028418)
Backed out changeset 3f298220d712 (bug 1028418)
Backed out changeset 7c2555a6e32e (bug 1028418)
Backed out changeset ed9287cd152a (bug 1028418)
Backed out changeset 88a5c0415403 (bug 1028418)
2015-07-27 17:52:01 -07:00
Nick Fitzgerald
2c4a3543f6 Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
6f14477058 Bug 1187399 - Add a js::DefaultHasher specialization for mozilla::UniquePtr<T> that proxies the UniquePtr's raw pointer to PointerHasher. r=terrence 2015-07-24 10:42:00 -04:00
Terrence Cole
51342d6752 Bug 1186609 - Implement a DynamicTraceable Vector subclass for use with Rooted; r=sfink 2015-07-23 08:19:07 -07:00
Terrence Cole
20cac448e7 Bug 1186156 - Move the PersistentRooted list heads into RootLists; r=sfink 2015-07-09 14:13:10 -07:00
Terrence Cole
a9869f3888 Bug 1186154 - Templatize Rooted's context parameter to reduce copy-and-paste; r=jonco 2015-07-21 12:57:00 -07:00
Terrence Cole
46b8178d31 Bug 1186450 - Fix TraceableHashTable's GC template definitions; r=jonco 2015-07-22 08:32:02 -07:00
Andrew McCreight
5be03712fd Bug 1185744 - Conversion from PersistentRooted to MutableHandle does not check for initialization. r=sfink 2015-07-22 11:31:49 -04:00
Terrence Cole
7f16c8f03f Bug 1185749 - Implement a DynamicTraceable HashMap subclass that can be used with Rooted; r=jonco 2015-07-20 08:20:35 -07:00
Jeff Walden
4f142cbb61 Bug 1185739 - Fix self-comparison warnings in MemoryMetrics.h. r=efaust 2015-07-20 15:17:25 -07:00
Terrence Cole
9f183bbe87 Bug 1181279 - Allow Rooted to handle generic Traceable entries; r=sfink 2015-07-20 07:50:36 -07:00
Terrence Cole
0e5f700558 Bug 1182124 - Remove InternalHandle and its last use; r=bbouvier 2015-07-09 13:35:01 -07:00
Terrence Cole
2504be4d1b Backed out aae28fa58dda (Bug 1181279) for test bustage. 2015-07-20 08:38:45 -07:00
Terrence Cole
699485ef4e Bug 1181279 - Allow Rooted to handle generic Tracable entries; r=sfink 2015-07-20 07:50:36 -07:00
Jan de Mooij
5bf23589af Bug 1184564 part 5 - Remove jsval typedef. r=jorendorff 2015-07-19 00:01:37 +02:00
Terrence Cole
68077ba783 Backout 73d2c854d770 (Bug 1182124) for being on top of a suspected regression. 2015-07-17 14:02:46 -07:00
Jan de Mooij
da8e291e1f Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie 2015-07-17 11:51:54 +02:00
Jan de Mooij
a2a69229c8 Bug 1177892 part 5 - Remove DOUBLE_TO_JSVAL. r=evilpie 2015-07-17 11:51:52 +02:00
Ryan VanderMeulen
84f80b7f6f Backed out changeset 0dca237df7e2 (bug 1160307) for causing bug 1184752. 2015-07-16 20:38:13 -04:00
Tom Tromey
e447790176 Bug 1160307 - Capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug, r=Paolo 2015-07-15 12:15:00 -04:00
Spenser Andrew Bauman
92c1f56d86 Bug 1030095 - Remove restriction on inlining recursive calls. r=hv1989 2015-07-14 09:36:00 -04:00
Terrence Cole
711c7afdfe Bug 1182124 - Remove InternalHandle and its last use; r=bbouvier 2015-07-09 13:35:01 -07:00
Nicholas Nethercote
3a776e8b2d Bug 1181452 - Add memory reporting infrastructure for Servo to SpiderMonkey. r=till.
Basically, this change is all about aggregating SpiderMonkey's fine-grained
measurements into the new set of coarse-grained measurements, called
ServoSizes (which is similar to the existing TabSizes). The change utilizes and
extends the existing macro machinery to do this in a way that has some chance
to maintaining correctness over the long-term despite the fact that this code
is so fiddly.
2015-07-07 23:18:44 -07:00
Birunthan Mohanathas
e52329c788 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Kannan Vijayan
4a1c0d15bf Bug 1180854 - Record and expose Ion IC stub optimization info to Jit Coach. r=shu 2015-07-10 16:35:00 -04:00
Terrence Cole
d7fa32fc54 Bug 1181799 - Allow use of Rooted with arbitrary, fully static structs; r=sfink 2015-07-09 08:45:40 -07:00
Terrence Cole
dcdae36446 Bug 1181155 - Use a common root list definition between JSContext and JSRuntime; r=jonco 2015-07-07 08:47:09 -07:00
Nick Fitzgerald
3c7ef23816 Bug 1068988 - Part 1: Add byte size to the allocation log; r=shu 2015-07-09 09:21:16 -07:00
ProgramFOX
a0cea47270 Bug 1124291 - SIMD (interpreter): Implemented int8x16 and int16x8 on a CLOSED TREE. r=bbouvier 2015-07-07 15:31:44 +02:00
ProgramFOX
da076d8f52 Bug 1124291 - added ToInt8 and ToInt16. r=Waldo 2015-07-02 17:51:25 +02:00
Carsten "Tomcat" Book
4c56ef4555 Backed out changeset d1b878ce28f4 (bug 1124291) 2015-07-08 15:11:19 +02:00
ProgramFOX
d858b62151 Bug 1124291 - SIMD (interpreter): Implemented int8x16 and int16x8 on a CLOSED TREE. r=bbouvier 2015-07-07 15:31:44 +02:00
Andrea Marchesini
edc3dda6a4 Bug 1176034 - Implement JSAutoStructuredCloneBuffer::clear(with callbacks and closure), r=sfink 2015-07-06 12:22:08 +01:00
Terrence Cole
b5c90b454c Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
* * *
Bug 1175466 - "Allocate arguments objects in the nursery" [r=terrence]
2015-06-18 10:23:49 -07:00
Ted Mielczarek
94ac18d5a4 bug 1172657 - ToInt32's arm asm crashes Apple clang, so #ifdef around the assembly for now. r=waldo 2015-03-22 14:33:24 -04:00
Terrence Cole
5f506c3139 Backed out changeset 6da67b7e65ac (Bug 1175642) for unexpected bustage on a CLOSED TREE. r=meow 2015-07-01 11:43:40 -07:00
Terrence Cole
2743137d82 Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco
* * *
Bug 1175466 - "Allocate arguments objects in the nursery" [r=terrence]
2015-06-18 10:23:49 -07:00
Jon Coppeard
d1bae30055 Bug 1155618 - Don't retry memory allocation if we're simulating OOM r=terrence 2015-07-01 18:53:04 +01:00
Jan de Mooij
1578d8d59f Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie 2015-06-30 21:10:04 -07:00
Jan de Mooij
91656f1d39 Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie 2015-06-30 21:09:46 -07:00
Jan de Mooij
2d19dfc5f6 Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie 2015-06-30 11:20:58 -07:00
Jan de Mooij
50d0e1c75e Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Ryan VanderMeulen
1c944f7ca5 Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
CLOSED TREE
2015-06-30 15:48:11 -04:00
Jan de Mooij
f7b999155b Bug 1177892 part 2 - Remove PRIVATE_TO_JSVAL. r=evilpie 2015-06-30 11:20:58 -07:00
Jan de Mooij
abbf48c613 Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie 2015-06-30 11:20:56 -07:00
Jan de Mooij
61c36ee986 Bug 1177825 - Remove JSVAL_* constants. r=evilpie 2015-06-29 18:36:44 -07:00
Terrence Cole
85e78735cd Backout 6b847a10bbb1 (Bug 1175642) for being on top of a regression. 2015-06-24 16:25:12 -07:00
Terrence Cole
3df2f8a546 Bug 1175642 - Fix the interface that RelocatablePtr uses to interact with the StoreBuffer; r=jonco 2015-06-18 10:23:49 -07:00
Benoit Girard
fb4fa8ec7c Bug 1172186 - Make the profiler build standalone. r=mstange 2015-06-18 01:05:42 -04:00
Tom Tromey
a46bd5f117 Bug 1159506 - Make GC events use TimeStamp. r=terrence 2015-06-17 15:14:00 -04:00
Eric Faust
a892b450a6 Bug 1169731 - [[Call]] on a class constructor should throw. (r=jandem) 2015-06-17 14:37:49 -07:00
Nick Fitzgerald
6df5f8d965 Bug 1149294 - Part 3: Split thread-safe methods on ChromeUtils out into a new
ThreadSafeChromeUtils interface and move the utils interfaces into dom/base;
r=bholley
2015-06-17 11:12:23 -07:00
Andrea Marchesini
332a2ea9d0 Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00
Ryan VanderMeulen
c2d0806581 Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
CLOSED TREE
2015-06-15 13:06:23 -04:00
Terrence Cole
d492e66bd8 Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8 2015-06-11 10:03:33 -07:00
Andrea Marchesini
a36cc3fb5e Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-15 14:08:25 +01:00
Shu-yu Guo
b988f92a12 Bug 1167895 - Escape JS engine SPS profile strings to UTF8 properly. (r=djvj) 2015-06-11 18:30:39 -07:00
Eric Rahm
f52699c13a Bug 1171722 - Part 2: Add gcreason::XPCONNECT_SHUTDOWN. r=terrence 2015-06-10 21:31:32 -07:00
Eric Rahm
921eea9181 Bug 1171722 - Part 1: Add gcreason to GCSliceCallback. r=fitzgen 2015-06-10 21:31:31 -07:00
Terrence Cole
e15918b143 Bug 1164982 - Record telemetry for GC max pause during animations; r=sfink 2015-06-04 09:30:44 -07:00
Brian Hackett
ed8ae503ae Bug 1170372 - Use unboxed arrays for Array() and other functions keyed to allocation sites, r=jandem. 2015-06-10 09:42:22 -07:00
Terrence Cole
373a642a58 Bug 1171780 - We no longer need to cast out of barrieried types in GC; r=jonco 2015-06-05 09:01:12 -07:00
Eric Faust
421f8543e7 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Terrence Cole
948a1d6deb Bug 1169086 - Use virtual dispatch to implement callback tracer; r=jonco, r=mccr8 2015-05-28 16:35:08 -07:00
Carsten "Tomcat" Book
2a6567d1e6 Backed out changeset d038c5da19b0 (bug 1141865) 2015-06-03 12:44:59 +02:00
Eric Faust
74dcf60e14 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Tom Schuster
721236a44b Bug 1135993 - Remove js::IsInNonStrictPropertySet. r=jorendorff 2015-06-02 23:27:39 +02:00
Terrence Cole
bab09d5096 Bug 1169791 - Strongly type GetTenuredGCThingZone; r=jonco, r=mccr8 2015-06-01 14:11:08 -07:00
Wes Kocher
552912acca Backed out 7 changesets (bug 1141865) for assertion failures in various test suites CLOSED TREE
Backed out changeset 3796a4c827e4 (bug 1141865)
Backed out changeset 41a10ac99656 (bug 1141865)
Backed out changeset 027bba006fbb (bug 1141865)
Backed out changeset fc9d645f55b3 (bug 1141865)
Backed out changeset 6b87d4ed5d30 (bug 1141865)
Backed out changeset fcbf3e53cce6 (bug 1141865)
Backed out changeset 4a9a06c26be7 (bug 1141865)
2015-06-01 18:25:38 -07:00
Eric Faust
2a004af5c4 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-01 15:03:32 -07:00
Terrence Cole
a04630c2c6 Bug 1169097 - Remove CountHeap; r=sfink 2015-05-28 16:35:06 -07:00
Steve Fink
569c3b1675 Bug 1169391 - Use a ReservedRooted class for optimized Rooted use in vm/Interpreter.cpp, r=terrence 2015-05-30 08:06:35 -07:00
Terrence Cole
2f77b243fb Bug 1166789 - Cleanup javascript.options.mem.log formatting; r=sfink, r=mccr8 2015-05-20 09:14:29 -07:00
Terrence Cole
685e0c74ca Bug 1167795 - Share the root and child tracing code in DumpHeapComplete; r=mccr8 2015-05-26 09:17:12 -07:00
Nick Fitzgerald
78ff34d4d2 Bug 1024774 - Part 13: Change to new SpiderMonkey style from bug 1144366; r=me 2015-05-28 07:37:43 -07:00
Nick Fitzgerald
1fe9f17177 Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-05-28 07:37:43 -07:00
Nick Fitzgerald
1d0ee3fcb6 Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-05-28 07:37:43 -07:00
Nick Fitzgerald
4dd1466e0a Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-05-28 07:37:42 -07:00
Nick Fitzgerald
dbc93a3476 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-05-28 07:37:42 -07:00