Shu-yu Guo
76da4d1112
Bug 1202902
- Support non-syntactic extensible lexical scopes. (r=billm)
2015-10-06 14:00:29 -07:00
Terrence Cole
fe83447e72
Bug 1196848 - Add Zone::uniqueIds to about:memory reports; r=njn
...
--HG--
extra : rebase_source : 313662129f131a9249b73232c600f34c92738078
2015-08-26 14:51:43 -07:00
Terrence Cole
4955cf8ac2
Bug 1196925 - Remove the non-existing relocatable store buffer counts from about:memory; r=njn
2015-08-26 14:51:43 -07:00
Terrence Cole
ca1d87a88a
Backout 15fa4c3a45ec (Bug 1196848) for being on top of a regression.
...
--HG--
extra : rebase_source : 7783be3966c4f963ad9aadfa9dc145b1b832c143
2015-09-03 09:35:43 -07:00
Terrence Cole
46a19ca98d
Backout ff66ba4688c0 (Bug 1196925) for being on top of a regression.
...
--HG--
extra : rebase_source : 2a97f610801a7157f513ed3a3b52533d724f1c81
2015-09-03 09:35:02 -07:00
Terrence Cole
23db9f8879
Bug 1196925 - Remove the non-existing relocatable store buffer counts from about:memory; r=njn
...
--HG--
extra : rebase_source : 7b704f68283b7921225e43ec607315f283556817
2015-08-26 14:51:43 -07:00
Terrence Cole
899ec10be3
Bug 1196848 - Add Zone::uniqueIds to about:memory reports; r=njn
...
--HG--
extra : rebase_source : 0b7173fc4d344f55b5b8c41e010ea65c7048091e
2015-08-26 14:51:43 -07:00
Jeff Walden
d878a013d1
Bug 1185739 - Fix self-comparison warnings in MemoryMetrics.h. r=efaust
...
--HG--
extra : rebase_source : 0efd43d45100d4fe56cd22039c2349635c3d9161
2015-07-20 15:17:25 -07:00
Nicholas Nethercote
915d8780c8
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.
--HG--
extra : rebase_source : 1dc3d92830902d9e24496dcdc5f1ee8a6fe39fb4
2015-07-07 23:18:44 -07:00
Terrence Cole
c01ef51c2d
Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco
...
--HG--
extra : rebase_source : 7dbeee0826fa20477ed227c9d336fdfe6de6ffd2
2015-05-22 10:40:24 -07:00
Brian Hackett
a7c7f13a97
Bug 1161077 - Allocate unboxed arrays in the nursery, r=terrence.
2015-05-04 16:36:54 -07:00
Jim Blandy
fc9d59392a
Bug 1062473: Implement JS::ubi::Node::size for JSObjects. r=sfink,terrence
...
--HG--
extra : rebase_source : cc27cefa89ab9689cbfe7f62635a00c3363f4265
extra : histedit_source : fd7c1ca09c654b27536774d7b722319819dd74e0
2015-04-01 18:04:53 -07:00
Jan de Mooij
b8b1677f0f
Bug 1144366
- Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 23:22:11 +01:00
Phil Ringnalda
c8a25251c1
Backed out changeset 0c030f97a04f (bug 1144366
) for being on top of patches being backed out
...
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
8d6d44ecb8
Bug 1144366
- Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 12:08:37 +01:00
Brian Hackett
533750696e
Bug 1143256 - Store object metadata using a weak map, r=luke.
2015-03-25 09:07:51 -07:00
Ryan VanderMeulen
6fa51cb894
Backed out changeset d3c9b899f7d2 (bug 1143256) for frequent browser_perf-refresh.js leaks.
...
--HG--
extra : rebase_source : d8872879f2e6bec248ac3a5fc8b254be437abea0
2015-03-20 16:07:42 -04:00
Brian Hackett
73cf6b02a1
Bug 1143256 - Store object metadata using a weak map, r=luke.
2015-03-20 06:33:33 -07:00
Terrence Cole
bb7d88df07
Bug 1134425 - Part 1: move the allocator interface code out of line; r=jonco
...
--HG--
extra : rebase_source : cbeb8097a3c55397cc0c0f476deb0011ad496f62
2015-03-04 09:32:02 -08:00
Jon Coppeard
439686762a
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
Brian Hackett
909e578fea
Bug 1125930 - Rename TypeObject to ObjectGroup, r=jandem.
2015-02-02 11:20:38 -07:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Ehsan Akhgari
4354953b4f
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
Brian Hackett
ca1120a47e
Bug 1083600 - Use inline data for small transparent typed objects, r=sfink,nmatsakis.
2014-10-29 11:14:53 -07:00
Brian Hackett
0593b4473d
Bug 1061404 - Move ArrayBuffer view list into per compartment tables, r=sfink.
2014-09-17 11:13:17 -07:00
Shu-yu Guo
c2475516fe
Bug 1056411 - Part 1: Remove DebugFromC and clean up compartment debug mode logic. (r=jimb)
2014-09-08 21:03:31 -07:00
Nicholas Nethercote
0c90379b35
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
6675f63031
Bug 1037886 - Report Latin1 and TwoByte strings separately in about:memory. r=njn
2014-07-16 19:11:50 +02:00
Jason Orendorff
26bdfdcc2f
Bug 645416, part 3 - Symbol layout and GC support for allocating them. r=terrence.
...
Layout: js/src/vm/Symbol.h defines the new class JS::Symbol. JS::Symbol is the
same size as JSString on all platforms, because the allocator does not support
smaller allocations.
Allocation: Since the purpose of symbols is to serve as property keys, they are
always allocated in the atoms compartment.
We take a lock when allocating. This could probably be replaced with a
main-thread-only assertion. However, if atom allocation is not already a
bottleneck, symbol allocation probably never will be.
Symbols are given their own finalize-class in the GC. This means we allocate a
page per zone for symbols, even though they are only ever allocated in the
atoms zone. Terrence thought this could be easily fixed later. It should be; we
never touch the page, but a 32-bit virtual address space does not just have
infinite pages to spare.
A jsapi-test exercises the new symbol allocation code. A few oddities in
jsapi-tests are fixed in passing.
Discussion after review led to some new assertions about minimum object size in
AllocateObject and AllocateNonObject.
--HG--
extra : rebase_source : 45abb651d3b1b493d77a5dd0eb554f96b058c63a
2014-06-23 10:55:51 -05:00
Brian Hackett
3ba0ec8938
Bug 1020012 - Consolidate ScriptSources with the same source, r=luke.
2014-06-21 10:39:04 -07:00
Nicholas Nethercote
aaf6fb2124
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Brian Hackett
5385dceeca
Bug 1024038 - Remove YARR, r=jandem.
2014-06-16 15:37:53 -07:00
Nicholas Nethercote
2207ecfbcd
Backout 277bacd9f2f8 (bug 1023719) for causing intermittent crashes.
...
--HG--
extra : rebase_source : e6c9e54dd2df572da7f8cdf3cd6226a1aeeee883
2014-06-13 06:39:16 -07:00
Nicholas Nethercote
feeaf7db9a
Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
...
--HG--
extra : rebase_source : 5a842c36cf7202f6751290da80cefb005fd8db95
2014-04-15 19:43:18 -07:00
Ehsan Akhgari
5b0272c079
Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem
2014-05-25 21:46:24 -04:00
Nick Fitzgerald
9f0fc42c03
Bug 972045 - Add a compact representation for call stacks in SpiderMonkey. r=jimb
2014-04-24 17:25:00 -04:00
Ryan VanderMeulen
8b7b5cc3a2
Backed out changeset ace4dd426349 (bug 972045) for mochitest failures.
2014-04-24 15:10:44 -04:00
Nick Fitzgerald
56f6826f77
Bug 972045 - Add a compact representation for call stacks in SpiderMonkey. r=jimb
2014-04-24 10:04:00 -04:00
Shian-Yow Wu
0eb9c68561
Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn
2014-04-16 19:26:41 +08:00
Terrence Cole
d2700b6596
Bug 989035 - Track malloced slots attached to the nursery. r=njn
2014-03-27 22:52:02 -04:00
Terrence Cole
0988607fd4
Bug 957723 - Decommit unused portions of the nursery; r=jonco
2014-01-08 13:43:55 -08:00
Terrence Cole
afd6da80fd
Backout ed7130b21a68 (Bug 957723) for SM(r) orange on a CLOSED TREE.
2014-03-17 11:42:57 -07:00
Terrence Cole
16c2295e94
Bug 957723 - Decommit unused portions of the nursery; r=jonco
...
--HG--
extra : rebase_source : b4e5a0b55d1817d3fc312b4aed2abb4e5273b145
2014-01-08 13:43:55 -08:00
Jeff Walden
e402fbff37
Back out dd53db747a5e (bug 945152 part 2) to clear way for other fixing. Should reland in short order (before merge) after those other fixes land. r=backout
2014-03-14 16:38:07 -07:00
Jan de Mooij
2755ddacc9
Bug 981554 - Move allocator for optimized Baseline stubs from JitCompartment to JitZone. r=njn
...
--HG--
extra : rebase_source : 609881b6cf783805333454b876797ad5235bfecc
2014-03-14 19:13:08 +01:00
Shian-Yow Wu
50520fcec3
Bug 945152 - Part 2: Report mapped array buffer statistics for about:memory. r=njn
2014-03-13 14:32:16 +08:00
Nicholas Nethercote
cf269be155
Backout 519787a56627 (bug 972712, part 6) and the follow-up 5c9a4a1f2c0b (bug 978227) because ASAN is complaining intermittently about the former. r=me.
...
--HG--
extra : rebase_source : 31e2b96c57703caf94f65fed1d0c007d6984421e
2014-03-05 14:19:28 -08:00
Nicholas Nethercote
b2db83feaf
Bug 972712 (part 6) - Report objects and shapes by their class. r=till.
...
--HG--
extra : rebase_source : aa42a16006a3ef180056836215d497dba0eae383
2014-02-26 18:35:48 -08:00
Nicholas Nethercote
27e6781bd9
Bug 972712 (part 4) - Report script sources in more detail. r=till.
...
--HG--
extra : rebase_source : b28fc8f4ff791966cb784e1c12def58927d3e3d3
2014-02-13 20:03:07 -08:00
Nicholas Nethercote
fdb45bb355
Bug 972712 (part 3) - Rework notable string reporting. r=till.
...
--HG--
extra : rebase_source : 274c2ee9beafca5e464234f37e894967d20abb25
2014-02-26 18:11:01 -08:00