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
Terrence Cole
24c51f3bbd
Bug 1105069 - Part 1: Move GCTraceKind from jspubtd to TraceAPI; r=jonco, r=mccr8
...
--HG--
extra : rebase_source : 86fef608628fe2eaa6c6f91e84d90aa9e9baa84d
2014-12-01 14:49:07 -08:00
Jon Coppeard
f5b55c10d0
Bug 650161 - Remove an assertion that things don't move r=terrence
2014-11-24 10:40:33 +00:00
Terrence Cole
d06b4dec6a
Bug 1101921 - Nursery heap size should scale with the chunk size; r=jonco
...
--HG--
extra : rebase_source : 0d50d5998f1d24af0e85050e617f2f088cb0b609
2014-11-19 15:01:54 -08:00
Terrence Cole
4554819e05
Backed out changeset 012e11e54840 (Bug 1101921) for build bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : 38aac2c757b138fbdf754abb374f326048a5516a
2014-11-21 16:03:53 -08:00
Terrence Cole
e2e81fba58
Bug 1101921 - Nursery heap size should scale with the chunk size; r=jonco
2014-11-19 15:01:54 -08:00
Terrence Cole
52a711517e
Bug 1100652 - Simplify the store buffer implementation; r=sfink
...
--HG--
extra : rebase_source : caee6fef56e66a8af5be15678ffe29d6c618c0ba
2014-11-18 13:56:46 -08:00
Nick Fitzgerald
698d4ba70b
Bug 1083456 - Part 2: Provide a mechanism to find all GC roots for a JS::ubi::Node traversal. r=jimb
2014-11-19 10:19:59 -08:00
Nick Fitzgerald
4529ca8594
Backed out changeset 73ea3aa3ccec
2014-11-19 10:00:02 -08:00
Nick Fitzgerald
400c4d17a5
Bug 1083456 - Part 2: Provide a mechanism to find all GC roots for a JS::ubi::Node traversal. r=jimb
2014-11-19 09:57:11 -08:00
Jon Coppeard
abdff318ff
Bug 1100923 - Make onPromiseSettled() declaration JS_PUBLIC_API. r=fitzgen
2014-11-18 15:02:24 -08:00
Nick Fitzgerald
a066068780
Bug 1084065 - Part 1: Add a Debugger.prototype.onPromiseSettled hook; r=shu
2014-11-17 10:43:00 +01:00
Nick Fitzgerald
c147ab1d8b
Bug 1083210 - Part 1: Add a Debugger.prototype.onNewPromise hook. r=shu
2014-11-17 10:42:00 +01:00
Jeff Walden
aee18b25b3
Bug 712939 - Use JS_ENUM_HEADER and JS_ENUM_FOOTER only where absolutely necessary, and don't expose them for general use. r=jandem
2014-11-07 18:33:20 -08:00
Jon Coppeard
5d51516d86
Bug 650161 - Fix leak of moved expando objects r=terrence
2014-11-14 09:22:26 +00:00
Jon Coppeard
837fc83845
(no bug) Update count of GC reasons in comment DONTBUILD
2014-11-13 13:43:17 +00:00
Jason Orendorff
d71c5ad126
Bug 1094062 - Delete js/public/PropertyKey.h. r=jandem.
...
--HG--
extra : rebase_source : 4ff841a634f08f611529d18878074d6dc73d0fd3
2014-11-05 00:56:36 -06:00
Jan de Mooij
8dde2de579
Bug 1094255 - Optimize GetElements on NodeLists to make fun.apply(x, nodeList) faster. r=bz,evilpie
2014-11-11 11:56:44 +01:00
Emanuel Hoogeveen
7f9f5f7dab
Bug 1084651 - Part 6: Rename SliceBudget::reset to the less misleading makeUnlimited. r=billm
2014-11-04 07:35:00 +01:00
Emanuel Hoogeveen
4dfc42b7c5
Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=billm
2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
6941fb3fd3
Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=billm r=mccr8
2014-10-22 14:13:00 +02:00
Nick Fitzgerald
d44fae4043
Bug 1083456 - Part 1: Add JS_TraceIncomingCCWs. r=terrence
2014-11-07 11:56:00 +01:00
Tom Schuster
e34d3251d3
Bug 993026 - Simplify JS resolve hook. r=jorendorff
2014-11-08 01:07:12 +01:00
Tom Schuster
2a73ddb7b1
Bug 1091900 - Remove iteratorObject hook. r=jorendorff
...
* * *
Bug 1091900 - Fix build on CLOSED TREE
2014-11-05 20:36:49 +01:00
Carsten "Tomcat" Book
d36f80d22b
Backed out changeset ebdebc9251be (bug 1084651)
2014-11-07 15:30:49 +01:00
Carsten "Tomcat" Book
01f9ccc33e
Backed out changeset b34ff39fc966 (bug 1084651)
2014-11-07 15:30:47 +01:00
Emanuel Hoogeveen
e33aeac022
Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=wmccloskey
2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
7fa233b1b9
Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8
2014-10-22 14:13:00 +02:00
Carsten "Tomcat" Book
fac6a9db7c
Backed out changeset dc265cc31095 (bug 1091900)
2014-11-06 09:11:18 +01:00
Tom Schuster
5e10b64908
Bug 1091900 - Remove iteratorObject hook. r=jorendorff
2014-11-05 20:36:49 +01:00
Carsten "Tomcat" Book
3bb9fc90ba
Backed out 7 changesets (bug 1084651) for ASAN Bustage on a CLOSED TREE
...
Backed out changeset dd2b3e78b425 (bug 1084651)
Backed out changeset 2711fbd91819 (bug 1084651)
Backed out changeset 59a163addd79 (bug 1084651)
Backed out changeset d36f6dbbf925 (bug 1084651)
Backed out changeset 78102b62a4a0 (bug 1084651)
Backed out changeset 06387a2343a0 (bug 1084651)
Backed out changeset 2f8e7c39573e (bug 1084651)
2014-11-05 15:20:25 +01:00
Emanuel Hoogeveen
774adccd1e
Bug 1084651 - Part 6: Rename SliceBudget::reset to the less misleading makeUnlimited. r=billm
2014-11-04 07:35:00 +01:00
Emanuel Hoogeveen
83b0fcf251
Bug 1084651 - Part 3: Tighten up the bounds of SliceBudget to work as a budget should. r=wmccloskey
2014-11-04 07:34:00 +01:00
Emanuel Hoogeveen
69f8cfc1a9
Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8
2014-10-22 14:13:00 +02:00
Shu-yu Guo
e2b8496ba0
Bug 1092032 - Bias magic uint32s in ArgumentObject forwarded slots by the maximum JSWhyMagic value to distinguish them from the JSWhyMagic-based magic values. (r=luke)
2014-10-31 16:46:26 -07:00
Brian Hackett
846e2a7ddc
Bug 1083600 - Use inline data for small transparent typed objects, r=sfink,nmatsakis.
2014-10-29 11:14:53 -07:00
Jeff Walden
45f2ee3b13
Bug 712939 - Replace a bunch of JS_STATIC_ASSERTs with static_assert. r=jandem
...
--HG--
extra : rebase_source : 4205bda533538d866b8facd669b11cb40e2f02e9
2014-10-22 15:17:38 -07:00
Jon Coppeard
3132765f93
Bug 650161 - Fix crashes moving partially initialized DOM objects r=bz
2014-10-28 10:18:36 +00:00
Lars T Hansen
054e2bb204
Bug 1068684 - synchronous gc when the number of SharedArrayBuffers gets large. r=luke, r=jonco
2014-10-24 18:37:31 +02:00
Jon Coppeard
5689f7e4b4
Bug 650161 - Relocate global objects (browser changes) r=bholley
2014-10-20 09:07:43 +01:00
Brian Hackett
1a86feed43
Bug 1073842 - Remove slots/elements from non-native objects, use a new layout for proxies and typed objects, r=luke,billm,efaust,bz,sfink,jandem.
2014-10-17 16:57:52 -07:00
Nick Fitzgerald
6a91b2cf5e
Bug 1082761 - Add Debugger.prototype.findObjects; r=jimb
2014-10-15 19:21:00 +02:00
Tom Schuster
9a60f1a3c6
Bug 1069694 - Remove OldDebugAPI from js/src. r=shu
2014-10-12 19:37:40 +02:00
Tom Schuster
610ab2c7e5
Bug 1069694 - Remove JS_GetScriptSourceMap. r=shu
2014-10-04 17:38:08 +02:00
Brian Hackett
7ca0b27d04
Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke.
2014-10-02 19:32:39 -07:00
Jim Blandy
eb0712728b
Bug 1075564: Give JS::ubi::Node its implicit constructor back, with the right annotation this time. r=luke
2014-10-02 10:19:10 +01:00
Nicolas B. Pierron
2f855ebf20
Bug 1074911 - Remove JS_ASSERT and JS_ASSERT_IF macros. r=jorendorff
2014-10-01 19:17:53 +02:00
Nicolas B. Pierron
8b681bc06c
Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
...
Apply the following script
sed -i '
/JS_ASSERT(/ {
s/JS_ASSERT(/MOZ_ASSERT(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT (/MOZ_ASSERT(/;
'
Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Jon Coppeard
ddd906f3a1
Bug 650161 - We don't need an objectMoved hook for global objects r=terrence
2014-09-29 09:50:17 +01:00
Terrence Cole
e7ebd76a55
Bug 1064346 - JSFunction's extended attributes expect POD-style initialization. r=billm
2014-09-10 15:42:36 -07:00
Ehsan Akhgari
03fe591dc7
Bug 1068024 - Fix more bad implicit constructors in JS; r=luke,Waldo
...
--HG--
extra : rebase_source : 1eea3e7dfc3235a1b99d7deb131efda07dde4eac
2014-09-23 22:04:52 -04:00
Jon Coppeard
23f8fad496
Bug 650161 - Unify the finalization and moving GC callbacks into a weak pointer update callback r=terrence r=bholley
2014-09-24 12:54:11 +01:00
Jeff Walden
f5477c2a39
Bug 896116 - Morph the dependent-JSProtoKey system to explicitly store a JSProtoKey, rather than relying on a system where a single class represents the parent and dependent both. Also convert error objects (Error, RangeError, &c.) to be represented by multiple classes, not a single one. r=bholley, r=till
...
--HG--
extra : rebase_source : 1d1913c49ae58be86e991077bda96684c6afb941
2014-09-18 20:06:32 -07:00
Tom Schuster
314b0c946b
Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu
2014-09-23 15:25:31 +02:00
Terrence Cole
e1752155cd
Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco
2014-09-19 08:39:54 -07:00
Terrence Cole
049d73bdd4
Back out changeset b7f417116d90 (Bug 1029549) for making the tree a beautiful orange color on a CLOSED TREE
2014-09-19 16:53:17 -07:00
Terrence Cole
3ac0124533
Bug 1029549 - Sanity-check TenuredHeap pointers when accessing them; r=jonco
...
--HG--
extra : rebase_source : 3aeb0679d121e301b1b6c5aea2511dbc1a419e55
2014-09-19 15:51:57 -07:00
Jim Blandy
c2120e3335
Bug 1063247: Let embeddings tell Debugger how to find the size of a malloc'd block of memory. r=terrence
2014-09-19 15:10:01 -07:00
Jim Blandy
dda83ff66a
Bug 1063247: Amend JS::ubi::Node::size and its implementations to expect a mozilla::MallocSizeOf function. r=terrence
...
Note that JS::ubi::Node::size has no callers at present, so we can change its
type without changing any callers.
2014-09-19 15:10:01 -07:00
Jim Blandy
d31bf30d11
Bug 1063247: Allow implicit construction of JS::ubi::Node from JS::HandleValue. r=terrence
...
This seems reasonable, since a ubi::Node is really just a pointer with some
introspection support, so the value and the Node are pretty similar. And I don't
see cases where you'd want an error.
2014-09-19 15:10:00 -07:00
Terrence Cole
dd4dc6edcf
Backed out changeset a53aa43ab5f4 for Windows build bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : d3a1aecd8882bc591898684c0a97f8929b7809a9
2014-09-19 09:40:53 -07:00
Terrence Cole
ba9f4da7e2
Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco
...
--HG--
extra : rebase_source : 010b83f2302c2b10e7ef3d3bb347a9b7b57a51b4
2014-09-19 08:39:54 -07:00
Jon Coppeard
0a650f2717
Bug 650161 - Add an assertion that something is only ever called from a GC callback r=terrence
2014-09-19 09:57:11 +01:00
Jim Blandy
ef14470f6c
Bug 1063233: Move JS::ubi::Node specializations for SpiderMonkey types closer to those types' definitions. r=terrence
2014-09-18 12:56:54 -07:00
Jim Blandy
b93d09903a
Bug 1063233: Provide default definitions for optional JS::ubi::Node methods in Base. r=terrence
2014-09-18 12:56:53 -07:00
Brian Hackett
b6ec2341c9
Bug 1061404 - Move ArrayBuffer view list into per compartment tables, r=sfink.
2014-09-17 11:13:17 -07:00
Lars T Hansen
5cf3fff6ae
Bug 1068539 - Keep the serialization format compatible, increment the version number. r=jorendorff,khuey
2014-09-17 17:10:59 +02:00
Lars T Hansen
1b8f15631b
Bug 1054882 - Rollup patch. r=till, r=sstangl, r=jorendorff
2014-09-16 18:45:31 +02:00
Shu-yu Guo
621f26a3c6
Bug 1001090 - Part 1: Implement let temporal dead zone in the frontend and interpreter. (r=Waldo)
2014-09-15 16:30:45 -07:00
Jon Coppeard
27e45aa4dd
Bug 1045945 - Initialize the destroy principals callback for workers r=bent
2014-09-15 16:49:11 +01:00
Eric Faust
9b8255f0c4
Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv)
2014-09-10 15:52:36 -07:00
Terrence Cole
29dc9aff5e
Bug 914402 - Remove the defunct conservative stack scanner; r=sfink
...
--HG--
extra : rebase_source : c261ef7492694e9724c78edc7bc0dac7aa4357ba
2014-09-09 15:08:23 -07:00
Chris Peterson
b3b77faddd
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Shu-yu Guo
7950a2613f
Bug 1056411 - Part 2: Remove the JSAPI C debug mode functions. (r=jimb)
2014-09-08 21:03:31 -07:00
Shu-yu Guo
eb5d9a9824
Bug 1056411 - Part 1: Remove DebugFromC and clean up compartment debug mode logic. (r=jimb)
2014-09-08 21:03:31 -07:00
Wes Kocher
3dadae9f33
Back out 11 changesets (bug 1063233 and bug 1063247)
...
* * *
Backed out changeset 7c7c837585fb (bug 1063233)
* * *
Backed out changeset e584d23b3ce3 (bug 1063233)
* * *
Backed out changeset ee169ca2e00b (bug 1063247)
* * *
Backed out changeset 514c713b2313 (bug 1063247)
* * *
Backed out 3 changesets (bug 1063247)
Backed out changeset a6033944c4c1 (bug 1063247)
Backed out changeset c7ffa64956c6 (bug 1063247)
Backed out changeset dd80b2984fe2 (bug 1063247)
* * *
Backed out 4 changesets (bug 1063233)
Backed out changeset 1f6db27e6240 (bug 1063233)
Backed out changeset b8e3d887faa2 (bug 1063233)
Backed out changeset 8e1913c07322 (bug 1063233)
Backed out changeset 04d42b23a489 (bug 1063233)
2014-09-05 17:42:45 -07:00
Jim Blandy
12e9caf8c5
Bug 1063233: Remove use of UbiNode.h from IonCode.h, with consequent changes; Windows non-unified builds seem to be unhappy with it. CLOSED TREE r=bustage
2014-09-05 14:57:42 -07:00
Ehsan Akhgari
945e41fa38
Bug 1060976
- Fix more bad implicit constructors in the JS engine; r=jorendorff
2014-09-05 15:11:39 -04:00
Jim Blandy
defdd9cbce
Bug 1063247: Let embeddings tell Debugger how to find the size of a malloc'd block of memory. r=terrence
2014-09-05 10:43:36 -07:00
Jim Blandy
49104fabe9
Bug 1063247: Amend JS::ubi::Node::size and its implementations to expect a mozilla::MallocSizeOf function. r=terrence
...
Note that JS::ubi::Node::size has no callers at present, so we can change its
type without changing any callers.
2014-09-05 10:43:35 -07:00
Jim Blandy
25be307de9
Bug 1063247: Allow implicit construction of JS::ubi::Node from JS::HandleValue. r=terrence
...
This seems reasonable, since a ubi::Node is really just a pointer with some
introspection support, so the value and the Node are pretty similar. And I don't
see cases where you'd want an error.
2014-09-05 10:43:35 -07:00
Jim Blandy
8970bac29c
Bug 1063233: Move JS::ubi::Node support for js::types::TypeObject next to where it is declared/defined. r=terrence
2014-09-05 10:37:19 -07:00
Jim Blandy
02d7fe5435
Bug 1063233: Move JS::ubi::Node support for js::jit::JitCode next to where it is declared/defined. r=terrence
2014-09-05 10:37:19 -07:00
Jim Blandy
6cb763f5f4
Bug 1063233: Move JS::ubi::Node support for js::Shape and js::BaseShape next to their declarations and definitions. r=terrence
2014-09-05 10:36:07 -07:00
Jim Blandy
7c0e7fd498
Bug 1063233: Move JS::ubi::Node support for js::LazyScript to sit next to the rest of LazyScript's implementation. r=terrence
2014-09-05 10:34:03 -07:00
Jim Blandy
ca1195c2a2
Bug 1062089: Rename js/public/DebugAPI.h to js/public/Debug.h. It's a public header file; *obviously* it's an API. r=jorendorff
...
--HG--
rename : js/public/DebugAPI.h => js/public/Debug.h
2014-09-05 10:32:29 -07:00
Jon Coppeard
d8d02056fe
Bug 650161 - Add a class hook that's called when an object is moved r=terrence
2014-09-02 11:07:22 +02:00
Tom Schuster
73adbee102
Bug 1031880 - Remove JS_SetSingleStepMode. r=jorendorff
2014-08-31 19:08:41 +02:00
Kannan Vijayan
980195c376
Bug 1057082 - Part 1 - Add profilingActivation linked list and refactor ProfilingFrameIterator. r=luke
2014-08-26 14:03:04 -04:00
Nicholas Nethercote
cf5ec4adfc
Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
...
--HG--
extra : rebase_source : 3139b17f6a660f460adb820c390368dc8367069a
2014-04-15 19:43:18 -07:00
Jan de Mooij
9e377a03c6
Bug 1055758 - rm Ion CompilerRoot infrastructure. r=bhackett
...
--HG--
extra : rebase_source : 73d4b369b240436d0c2cc95a9f40cac783c6adb5
2014-08-20 12:18:49 +02:00
Brian Hackett
63ed4cf7b0
Bug 934450 - Allow objects to have copy on write elements, r=billm,jandem.
2014-08-19 22:25:37 -08:00
Bobby Holley
1fdb7585c8
Bug 1050340 - Handle object and array. r=luke
2014-08-18 14:18:39 -07:00
Bobby Holley
601fef2922
Bug 1050340 - Handle maps and sets. r=luke
2014-08-18 14:18:39 -07:00
Bobby Holley
93348157b7
Bug 1050340 - Handle boxed values with a new proxy trap. r=luke
2014-08-18 14:18:39 -07:00