Boris Zbarsky
29c02a7c07
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Wes Kocher
bc62dd3b33
Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
...
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Boris Zbarsky
e8c2fb81d9
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Jan de Mooij
5b2e74d5bb
Bug 1136837 part 1 - Don't inline calls with incomplete type information for this or arguments. r=h4writer
2015-02-26 15:33:45 +01:00
Jon Coppeard
48edaed9e4
Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence
2015-02-24 09:40:02 +00:00
Jon Coppeard
f9426664ae
Bug 1136046 - Increase maximum capacity of js::HashMap and HashSet r=luke
2015-02-26 09:02:13 +00:00
Nicholas Nethercote
3543c6b95e
Bug 979293 - Don't write collision bits in HashTable unnecessarily. r=luke.
...
This avoids no-op writes to the keyHash of entries when doing a no-add-lookup.
This removes a genuine data race in JSRuntime::permanentAtoms, which receives
frequent no-add-lookups from multiple threads after JSRuntime initialization
without any kind of locking.
2015-02-25 10:39:46 -08:00
Kannan Vijayan
a51ff62795
Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu
2015-02-25 16:43:39 -05:00
Ryan VanderMeulen
4537f3c63b
Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts.
2015-02-25 13:44:19 -05:00
Kannan Vijayan
373f197cbc
Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu
2015-02-25 11:26:28 -05:00
Xidorn Quan
6299c8640f
Bug 1135535 part 4 - Fix C4275 dll-interface warning and mark this warning as error in js/src on MSVC. r=luke
...
Fix warning:
js\src\jswrapper.h(58) : error C4275: non dll-interface class 'js::DirectProxyHandler' used as base for dll-interface class 'js::Wrapper'
obj-firefox\dist\include\js/Proxy.h(358) : see declaration of 'js::DirectProxyHandler'
js\src\jswrapper.h(57) : see declaration of 'js::Wrapper'
2015-02-25 15:26:23 +11:00
Ryan VanderMeulen
ff819da594
Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
...
CLOSED TREE
2015-02-24 15:11:08 -05:00
Jon Coppeard
3738cefe40
Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence
2015-02-24 09:40:02 +00:00
Shu-yu Guo
c425333472
Bug 1131429 - Add a shell function to dump all of a function's tracked optimizations. (r=djvj)
2015-02-23 20:33:56 -08:00
Shu-yu Guo
6634315aa3
Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj)
2015-02-23 20:33:56 -08:00
Shu-yu Guo
efd38354f0
Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj)
2015-02-23 20:33:56 -08:00
Carsten "Tomcat" Book
0c8adf5245
Backed out changeset bc2fdecaaec7 (bug 1129769) for hazard failures on a CLOSED TREE
2015-02-23 10:20:31 +01:00
Carsten "Tomcat" Book
de04173fc7
Backed out changeset 389c918b643c (bug 1129780)
2015-02-23 10:20:05 +01:00
Carsten "Tomcat" Book
b3dbc02324
Backed out changeset b70a4383ee84 (bug 1131429)
2015-02-23 10:20:01 +01:00
Shu-yu Guo
28a375a748
Bug 1131429 - Add a shell function to dump all of a function's tracked optimizations. (r=djvj)
2015-02-22 20:05:35 -08:00
Shu-yu Guo
defb6666ab
Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj)
2015-02-22 20:05:34 -08:00
Shu-yu Guo
88840ab9d9
Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj)
2015-02-22 20:05:34 -08:00
Brian Hackett
104db06fb5
Bug 1133254 - Improve type information and Ion compilation when dealing with converted unboxed objects, r=jandem.
2015-02-21 18:52:50 -06:00
Ryan VanderMeulen
a2d19a131f
Backed out changesets fbfda0143584 and e8cfd49ac790 (bug 1129510) for crashes.
...
CLOSED TREE
2015-02-20 20:01:08 -05:00
Kannan Vijayan
9b270b296f
Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu
2015-02-20 17:50:02 -05:00
Jon Coppeard
0db456cafc
Bug 1134255 - Add breakdown of allocated and unused GC things by kind in memory reports r=njn
...
--HG--
extra : rebase_source : aaec1857d252090c2aea9fc8e45a2a82ac492b6c
2015-02-19 11:56:00 +00:00
Jon Coppeard
08dd944cc3
Bug 1133759 - Always shrink GC buffers at the end of a shrinking GC r=terrence
2015-02-18 12:35:05 +00:00
Brian Hackett
8d8840048c
Bug 1121554 - Include receiver argument in setProperty hooks, r=jorendorff.
2015-02-14 08:50:48 -07:00
Dan Gohman
4b04b0652f
Bug 1131783 - Mark various unlikely conditions as MOZ_UNLIKELY r=waldo
2015-02-12 08:37:01 -08:00
Tom Schuster
6976ec9759
Bug 1124934 - Add a HasProperty ObjectOp. r=jorendorff
2015-02-13 12:20:02 +01:00
Tom Schuster
c22e2c0d82
Bug 1125437 - Get rid of SetPropertyAttributes and use DefineProperty to follow ES6 specification. r=efaust
2015-02-11 23:40:47 +01:00
Terrence Cole
d3c366fcb9
Bug 1130475 - Part 1: Move last-ditch IGC heap overflow trigger to CheckAllocatorState; r=sfink
...
--HG--
extra : rebase_source : e6a5ac26fe8a747c22cc39314909f56740d48c14
2015-02-06 13:26:15 -08:00
Jeff Walden
077af6ba03
Bug 1125096 - Implement JS_DECLARE_NEW_METHODS and JS_DECLARE_MAKE_METHODS using variadic templates, not a gazillion unreadable lines of copypasta. r=jorendorff
...
--HG--
extra : rebase_source : 5acd9fa837980dbe9f5471efc08d16bd1de00e42
2015-01-24 20:18:21 -08:00
Tom Schuster
8f3890f934
Bug 1131003 - Move jsproxy.h to js/Proxy.h. r=efaust
...
--HG--
rename : js/src/jsproxy.h => js/public/Proxy.h
2015-02-10 19:58:18 +01:00
Shu-yu Guo
7b7da9c330
Bug 1129781 - Re-lookup JIT code return addr when stringifying optimization info instead of caching the index. (r=djvj)
...
This saves us some circular buffer space.
2015-02-09 18:11:19 -08:00
Tooru Fujisawa
16af0ebbee
Bug 1025184 - Make ConstTwoByteChars a Range. r=jandem
2015-02-10 12:52:18 +09:00
Terrence Cole
c5f76bd296
Bug 1130226 - Part 2: Rename MAYBEGC to EAGER_ALLOC_TRIGGER and fix some improper uses; r=jonco
...
--HG--
extra : rebase_source : 2e2e79921503fda34f7904eaa2566fb761e8a88d
2015-02-05 17:41:56 -08:00
Terrence Cole
62f1911d11
Bug 1128110 - Share common operators on pointer-like GC classes; r=sfink
2015-02-04 15:27:00 -08:00
Andrea Marchesini
2289624116
Bug 1130031 - Better serialization for non-transferable objects from workers to main-thread in the console API, r=sfink
2015-02-05 18:50:43 +00:00
Shu-yu Guo
58a381e487
Bug 1127156 - Rework optimization tracking JSAPI to be more usable from the profiler. (r=djvj)
2015-02-04 13:40:02 -08:00
Birunthan Mohanathas
730659ae0a
Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo
2015-02-03 18:52:36 +02:00
Birunthan Mohanathas
318898d688
Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo
2015-02-03 18:52:28 +02:00
Jason Orendorff
81e4343779
Bug 1127121 - Remove property key type splitting in ObjectOps. r=bhackett.
...
--HG--
extra : rebase_source : dab65791e3efc9fc625365b6aa5dc26d5cad19fb
2015-01-28 17:12:44 -06:00
Brian Hackett
567fb34963
Bug 1125930 - Rename TypeObject to ObjectGroup, r=jandem.
2015-02-02 11:20:38 -07:00
Jon Coppeard
30e87f8c75
Bug 1127792 - Add a pref to globally disable compacting GC r=terrence r=mccr8 r=bent
2015-02-02 14:39:34 +00:00
Jon Coppeard
9aba60f615
Bug 1127246 - Add a post barrier to the baseShapes table r=terrence a=abillings
2015-02-02 10:11:23 +00:00
Jeff Walden
d2d785f69e
Bug 1112774 - Add a raft of other conversion methods to js/public/Conversions.h past just JS::ToObject. r=jorendorff
...
--HG--
extra : rebase_source : 5d04a08a8fd51952283ce2a819149da035311b59
2014-12-17 13:50:20 -08:00
Dan Gohman
ab5b55adc2
Bug 1125185
- Define MOZ_COLD for marking "cold" functions r=waldo
2015-01-26 17:30:19 -08:00
Masatoshi Kimura
0676786e20
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
ca6988b0d9
Bug 1111290 - Part 2: Non-mechanical changes. r=waldo
2015-01-26 07:22:08 +09:00
Tom Schuster
b46230fdc5
Bug 1111243 - Implement ES6 proxy behavior for IsArray. r=efaust
2015-01-25 21:42:10 +01:00
Tom Schuster
0998506fdb
Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff
2015-01-24 16:38:08 +01:00
Jon Coppeard
4bb8091dcb
Bug 1107639 - Give PersistentRooted<Value> the standard operations on Value r=terrence
2015-01-23 10:23:56 +00:00
Jon Coppeard
3451f6624a
Bug 1107639 - Allow two phase construction of PersistentRooted r=terrence
2015-01-23 10:23:56 +00:00
Tom Schuster
e600e170fe
Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz
2015-01-22 17:17:26 +01:00
ProgramFOX
a348dc35da
Bug 1031203 - Implemented float64x2. r=bbouvier
2015-01-16 17:17:37 +01:00
Kannan Vijayan
99c9fe8e3e
Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa
2015-01-15 20:11:22 -05:00
Ryan VanderMeulen
228d980cda
Backed out changesets 178c7164a3cd and 9a7ee9cb2247 (bug 1031203) for bustage.
...
CLOSED TREE
--HG--
extra : amend_source : 89f9ffb338e7305ae3c3c7f100744570aec95d06
2015-01-15 14:42:54 -05:00
ProgramFOX
b4208b9620
Bug 1031203 - Implemented float64x2. r=bbouvier
2015-01-14 19:21:22 +01:00
Jason Orendorff
7e067c2bed
Bug 1112778, part 10 - Rename the remaining nonstandard internal methods, such as JSObject::getGenericAttributes -> js::GetPropertyAttributes. r=Waldo.
...
--HG--
extra : rebase_source : ca12f2f784cacbec9721c07a1b7e61f72687fb53
extra : amend_source : ded50e2f93b4027dc2ec94198826393b2349c0f7
2014-12-18 13:28:06 -06:00
Wes Kocher
def893ae5f
Backed out 8 changesets (bug 1057082) for ASAN failures on a CLOSED TREE
...
Backed out changeset 0c1fabbfc583 (bug 1057082)
Backed out changeset 99213cacd671 (bug 1057082)
Backed out changeset 76d528767946 (bug 1057082)
Backed out changeset b1ad3dabec8f (bug 1057082)
Backed out changeset f927b9899077 (bug 1057082)
Backed out changeset 635e101ed2be (bug 1057082)
Backed out changeset a7d9f158838d (bug 1057082)
Backed out changeset b1cb68eadf6c (bug 1057082)
2015-01-14 15:26:50 -08:00
Kannan Vijayan
c95653b22f
Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa
2015-01-14 16:19:14 -05:00
Masatoshi Kimura
e11e374805
Bug 1120062 - Part 2: Remove use of IsNullPointer. r=waldo
2015-01-15 02:09:11 +09:00
Lars T Hansen
b6b4a2b44e
Bug 1119230 - remove lingering JIT code for PJS. r=shu
2015-01-14 09:21:59 +01:00
Lars T Hansen
d0624c7b7c
Bug 1118170 - remove PJS-specific bits from the GC. r=terrence
2015-01-14 09:21:59 +01:00
Masatoshi Kimura
f70d08c5aa
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Terrence Cole
2a29797035
Bug 1119604 - Remove the void* accessor from GCCellPtr; r=sfink
2015-01-09 15:42:42 -08:00
Terrence Cole
d263473300
Bug 1085597 - Allow objects with finalization and move ops to be nursery allocated; r=jonco
...
--HG--
extra : rebase_source : 14ea3e14ded4dcde2ba1aa2f887b9a75750331a2
2014-10-23 13:49:17 -07:00
Shu-yu Guo
b4320e6106
Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in string and conversion ops. (r=lth)
2015-01-09 00:06:03 -08:00
Ehsan Akhgari
b6e35bb4b4
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Andrew McCreight
8590b36083
Bug 1118044, part 2 - Use GCCellPtr in NoteJSChild. r=smaug,terrence
...
Also, strongly type the JS_TraceShapeCycleCollectorChildren function, and add an
isShape() method to GCCellPtr.
2015-01-08 15:30:54 -08:00
Ehsan Akhgari
fa38f407c5
Bug 1119228 - Fix a fatal warning in PossiblyFail; r=jandem
...
Recent clang emits the following warning (which is treated as an error) on this code:
error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
2015-01-08 10:33:32 -05:00
Jon Coppeard
3a4db49e46
Bug 1117098 - Move definition of external GC API methods out of jsfriendapi.cpp r=terrence
2015-01-05 13:22:53 +00:00
Jon Coppeard
72a59b3b64
Bug 1099152 - Make external GC APIs take invocation kind as a parameter r=terrence r=mccr8
2015-01-02 17:19:43 +00:00
Jon Coppeard
2a9322a0b4
Bug 1099152 - Separate out external APIs to start and continute an incremental GC r=terrence r=mccr8
2015-01-02 17:19:43 +00:00
Jeff Walden
5f66a773c4
Bug 1112769 - Move the contents of js/src/vm/NumericConversions.h into a new js/public/Conversions.h header containing public API. r=jorendorff
...
--HG--
rename : js/src/vm/NumericConversions.h => js/public/Conversions.h
extra : rebase_source : c6b30f38cbc3eafa5eb861ba578234c28982459d
2014-12-17 13:50:14 -08:00
Carsten "Tomcat" Book
6d6d25ec0f
Backed out changeset 232c0f30075c (bug 1031203) for j1 test failures
2014-12-23 11:51:29 +01:00
ProgramFOX
8bd8a5bd18
Bug 1031203 - Implemented float64x2. r=bbouvier
2014-12-22 14:26:27 +01:00
Terrence Cole
d41f78ba89
Bug 878850 - Remove the IsInRequest check in Rooted; r=sfink
2014-12-22 10:27:44 -08:00
Ehsan Akhgari
1ac86d08eb
Bug 1114351 - Use mozilla::IsNaN() in DOUBLE_TO_JSVAL(); r=Waldo
...
Note that this requires making sure that IsNaN is constexpr because it
needs to be passed to the constexpr IMPL_TO_JSVALUE() function in
DOUBLE_TO_JSVAL().
--HG--
extra : amend_source : dbd8bb0659b53e7d36d2600ac97f0a753ef772c7
2014-12-21 19:16:49 -05:00
Terrence Cole
455fff82ba
Bug 1105069 - Part 21: Remove AsCell in preference of GCCellPtr; r=jonco, r=mccr8
...
--HG--
extra : rebase_source : 5c4470f3efbd9dbe3caee08ed88b07da549912e0
2014-12-14 08:27:52 -08:00
Terrence Cole
9ce9f9b75c
Bug 1105069 - Part 20: Standardize GC structure accessors; r=jonco
...
--HG--
extra : rebase_source : 109967b39544ef7afcdee1c2fe443d8ffcf85736
2014-12-14 08:27:51 -08:00
Terrence Cole
9480090a4c
Bug 1105069 - Part 17: Convert xpc_IsGrayGCThing to GCCellPtr; r=mccr8, j=jonco
...
--HG--
extra : rebase_source : 9fdc5ac9ca8de9c12a399532db7e77bc34abb7da
2014-12-05 09:38:34 -08:00
Terrence Cole
a67bb5b756
Bug 1105069 - Part 15: Convert xpc_GCThingIsGrayCCThing to GCCellPtr; r=mccr8, r=jonco
...
--HG--
extra : rebase_source : 096b8eaf5b46afc1c40b0b9e8b233ec13c638c85
2014-12-09 16:22:51 -08:00
Terrence Cole
54972a74ea
Bug 1105069 - Part 14: Convert NoteJSChild to GCCellPtr; r=mccr8, r=jonco
...
--HG--
extra : rebase_source : 2338e0a57779401f9bc4744bc2fa59a4b31d76bf
2014-12-05 09:38:34 -08:00
Terrence Cole
c3e592a91b
Bug 1105069 - Part 13: Take uintptr_t directly in the GC's detail methods; r=jonco
...
--HG--
extra : rebase_source : 2a755ea61e4dab88abfcef44f49e6bda058c7f92
2014-12-05 09:38:33 -08:00
Nick Fitzgerald
1b39edeeec
Bug 1102541 - Add JS::ubi::RootList::addRoot; r=shu
2014-12-16 10:50:43 -08:00
Tom Schuster
70dad95d3c
Bug 1097267 - Change to the simpler enumerate hook in the js engine. r=jorendorff
2014-12-11 19:31:10 +01:00
Jason Orendorff
3adebb6c77
Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
...
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Terrence Cole
93306c4af7
Bug 1105069 - Part 11: Convert UnmarkGrayGCThingRecursively to GCCellPtr; r=jonco, r=mccr8
...
--HG--
extra : rebase_source : da3b54ac1300838bbe66dbd74af89ff56302ba23
2014-12-05 09:38:33 -08:00
Terrence Cole
f3a641e89b
Bug 1105069 - Part 10: Convert NoteWeakMapping to GCCellPtr; r=jonco, r=mccr8
...
--HG--
extra : rebase_source : b660a676c03c4a0bbdc521a6401a2a619543aa2a
2014-12-05 09:38:32 -08:00
Terrence Cole
e98a1760b2
Bug 1107349 - Always build in enerational GC support; r=jonco
2014-12-04 09:45:05 -08:00
Boris Zbarsky
c735db8b08
Bug 1012798 part 1. Add one more available reserved slot on globals, because we need it for Window. r=jorendorff
2014-12-09 14:44:37 -05:00
Jon Coppeard
7e4c00cd79
Bug 650161 - Add API to disable compacting GC r=terrence
2014-12-09 10:09:26 +00:00
Terrence Cole
6fe27efc84
Bug 1105069 - Part 8: Remove implicit cast from GCCellPtr to js::gc::Cell*; r=jonco, r=mccr8
...
--HG--
extra : rebase_source : 0dfb2314f5d20770b7b92fa9fde23cb6c41f20d8
2014-12-01 22:34:25 -08:00
Terrence Cole
a693fbeadd
Bug 1105069 - Part 6: Convert IncrementalReferenceBarrier to GCCellPtr; r=jonco
...
--HG--
extra : rebase_source : 008ec53319b44347af7398f07a9753b914a1157e
2014-12-01 15:06:37 -08:00
Terrence Cole
f6a9aced26
Bug 1105069 - Part 5: Convert MarkGCThingAsLive to GCCellPtr; r=jonco
...
--HG--
extra : rebase_source : 19fc003cc5c9796963b8bf54213556e1310ab240
2014-12-01 15:06:37 -08:00
Terrence Cole
fe2ac1d0bc
Bug 1105069 - Part 4: Convert IsIncrementalReferenceBarrierNeededTenuredGCThing to GCCellPtr; r=jonco
...
--HG--
extra : rebase_source : b8b403745c98ec09e29340aa74a801bd633f0483
2014-05-19 14:58:05 -07:00
Terrence Cole
bf54351f2c
Bug 1105069 - Part 3: Convert ExposeGCThingToActiveJS to use GCCellPtr; r=jonco
...
--HG--
extra : rebase_source : 68fc0a09b046eaf0042337d27bceac1de2b26150
2014-05-19 14:58:05 -07:00
Terrence Cole
c6a3264e3c
Bug 1105069 - Part 2: Implement GCCellPtr; r=jonco
...
--HG--
extra : rebase_source : 429ccde74ab4732c864582b776c223b1f81b198c
2014-12-01 14:49:21 -08:00