Commit Graph

379 Commits

Author SHA1 Message Date
Benjamin Smedberg
44d51b87e6 Bug 858900 - Poison JSContext. r=luke 2013-04-11 07:48:09 -04:00
Terrence Cole
107fd6479b Bug 857345 - ExposeToActiveJS should not care about GC things in the Nursery; r=billm
--HG--
extra : rebase_source : 709ce1e8e36f080d8a58b0a3b22a8955f72cf17f
2013-04-01 15:31:49 -07:00
Nils Maier
447d037468 Bug 857690 - Introduce xpc::ZoneStatsExtras and xpc::CompartmentStatsExtras. r=njn 2013-04-04 11:55:56 -04:00
Ms2ger
2fef74cc6d Merge m-c to m-i. 2013-04-04 14:15:56 +02:00
Ms2ger
e38aa0d743 Bug 852602 - Pass CallArgs to Proxy call() and construct() hooks; r=Waldo 2013-04-04 09:02:24 +02:00
Jan de Mooij
77852de9e9 Merge from mozilla-central. 2013-04-03 10:25:36 +02:00
Jan de Mooij
aaa969fc58 Merge from mozilla-inbound. 2013-04-02 19:20:31 +02:00
Jan de Mooij
0adfa075a4 Merge from mozilla-central. 2013-04-01 21:48:56 +02:00
Jan de Mooij
799355e0c1 Merge from mozilla-central. 2013-03-26 20:55:40 +01:00
Nicholas Nethercote
5088024fa5 Bug 854763 - Add a memory reporter for asm.js array buffers. r=luke.
--HG--
extra : rebase_source : 7710041552c96677344c85849cb6a7409a95edd2
2013-03-25 20:39:28 -07:00
Jan de Mooij
c99782e8ff Merge from mozilla-inbound.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEConvolveMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDiffuseLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDisplacementMapElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEOffsetElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpecularLightingElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFESpotLightElement.h
2013-03-25 10:27:13 +01:00
Jan de Mooij
39b2173b9d Merge from mozilla-central. 2013-03-22 10:39:40 +01:00
Jan de Mooij
76d5e1151c Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEGaussianBlurElement.h
2013-03-21 11:23:12 +01:00
Terrence Cole
4059b2f9fd Bug 854051 - Remove HashTable::clearWithoutCallingDestructors; r=billm
--HG--
extra : rebase_source : 6ae023e1dc878f33e823d80c8cd0a91950159d94
2013-03-25 11:48:26 -07:00
Jan de Mooij
a9086aedc6 Merge from mozilla-central.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEColorMatrixElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFECompositeElement.h
2013-03-20 12:54:47 +01:00
Jan de Mooij
6317f934e9 Merge from mozilla-central.
--HG--
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.cpp
rename : content/svg/content/src/SVGFEPointLightElement.cpp => content/svg/content/src/SVGFEComponentTransferElement.h
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEDistantLightElement.h
2013-03-18 16:53:57 +01:00
Bill McCloskey
a3cea08b3a Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Jan de Mooij
ce7520efef Merge from mozilla-inbound.
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEPointLightElement.h
2013-03-14 10:50:28 +01:00
Jan de Mooij
8ff567ce1a Merge from mozilla-central. 2013-03-08 09:57:47 +01:00
Jan de Mooij
381bda63c3 Bug 848374 - Have a single allocator per compartment for optimized stubs. r=djvj,njn 2013-03-07 11:42:24 +01:00
Jeff Walden
6dc883dea3 Bug 856850 - Implement a PodOperations.h header that includes all the Pod* functions currently in jsutil.h. r=Ms2ger 2013-04-01 22:43:19 -07:00
Jan de Mooij
cabe3243b6 Merge from mozilla-central. 2013-03-05 11:47:34 +01:00
Jan de Mooij
5b01371df1 Bug 846733 - Add baseline compiler memory reporters. r=djvj 2013-03-05 10:53:54 +01:00
Jeff Walden
5c0178fee7 Bug 843402 - Make all always-inlined methods just inline, and let the compiler choose how to optimize. r=http://perf.snarkfest.net/compare-talos/index.html?oldRevs=7ad145f9b092&newRev=6be7cad95d97&submit=true is a wash 2013-03-04 09:41:11 -08:00
Nicholas Nethercote
57e5f286ed Bug 851421 (part 2) - Don't emit bytecode for asm.js functions unless linking fails. r=luke.
--HG--
extra : rebase_source : cbab73e8bad5d6153cfb1cdd7599c608e78fad8a
2013-03-14 18:44:03 -07:00
Sean Stangl
9ca814fb2f Bug 850070 - Fix Vector::initCapacity() argument name: conflicts with layout code. r=red 2013-03-22 17:53:31 -07:00
Sean Stangl
d19766a0b6 Bug 850070 - Part 2/2 - Parallelize OdinMonkey compilations. r=luke 2013-03-19 15:24:22 -07:00
Terrence Cole
eb0a849599 Bug 848599 - Implement DisableGenerationalGC like DisableIncrementalGC; r=billm
--HG--
extra : rebase_source : aad333f9196a74e4579be70bd2ebf62fe16f23ed
2013-03-07 10:47:56 -08:00
Jeff Walden
d0d2f0d412 Bug 846976 - Move CallArgs into its own header for better readability. r=jorendorff, f=bz, f=bholley 2013-02-28 20:07:23 -08:00
Terrence Cole
706b867d6e Bug 765432 - Make JS_IsAboutToBeFinalized indirect; r=bholley,billm 2013-03-28 13:27:29 -07:00
Benjamin Peterson
6878c00c80 Bug 779233 - Count script filenames as part of script source memory. r=njn
--HG--
extra : rebase_source : f8c6e2d0867f172a68bac2242dd401db89c92236
2013-03-12 21:56:57 -05:00
Jeff Walden
161c44be40 MSVC wants a cast-to-integer-type before dividing by a bool that should promote to int. Sigh. Followup to bug 851237, r=windows-redness
--HG--
extra : rebase_source : cf4ca438261d5bdf115a21d40f1ad4164ccbeaea
2013-03-21 19:01:45 -07:00
Jeff Walden
c74ffc6a1b Bug 851237 - Replace StaticAssert uses with MOZ_STATIC_ASSERT. r=dholbert
--HG--
extra : rebase_source : d8b9715e05b959b11ee0f645141fd077b8599ab1
2013-03-21 18:26:15 -07:00
Terrence Cole
7f3e5fbc9d Bug 850074 - Move SpiderMonkey stack rooting infrastructure to RootingAPI.h; r=billm
--HG--
rename : js/src/gc/Root.h => js/public/RootingAPI.h
extra : rebase_source : 52027c9c887f686a86097e5465179fa69fac9d6c
2013-03-12 14:05:57 -07:00
Nathan Froyd
d9ce0f5c54 Bug 853646 - part 0a - remove js::StripConst and use mozilla::RemoveConst instead; r=Waldo 2013-04-03 11:24:11 -04:00
Luke Wagner
c28cc714bf Bug 845458 - IonMonkey: simplify constant double handling on x86 (r=dvander) 2013-02-26 19:56:30 -05:00
Jan de Mooij
33b89c2e79 Bug 844893 - Don't assert when two threads call getVMWrapper at the same time. r=luke 2013-02-26 13:49:44 +01:00
Nicholas Nethercote
160fb3d26e Bug 843462 (part 1) - Make Vector::insert() less error-prone. r=luke.
--HG--
extra : rebase_source : 8cc2ba2a01d7d4970aacb7728bb2936ea473dcf5
2013-02-20 21:13:25 -08:00
Luke Wagner
e48f129191 Bug 840282 - OdinMonkey (sr=dmandelin)
--HG--
extra : rebase_source : 4a3869dca32755abb58bbd3d9a06599e61b397f2
2013-03-15 02:29:02 -07:00
Luke Wagner
516d1bc2dd Bug 852331 - immediately GC the Zone after JS::Evaluate on a very large script (r=bhackett)
--HG--
extra : rebase_source : f64efadd1f324b5bfa3574aab1a434b22724fa16
2013-03-18 17:37:24 -07:00
Jon Coppeard
50ddf53b27 Bug 848754 - GC: Remove relaxed root checking infrastructure r=terrence
--HG--
extra : rebase_source : 7f781b1c7edbae14ce9b2fd4d45c44e8cb5c2968
2013-03-08 08:54:59 +00:00
Jon Coppeard
b752526987 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Nicholas Nethercote
f1560712c0 Bug 850523 (part 1) - Add a "js-main-runtime-temporary-peak" memory reporter (2nd attempt). r=wmccloskey,jlebar.
--HG--
extra : rebase_source : d90dcad2ed990b6e276ff38c36170b815ae9b823
2013-03-06 20:40:36 -08:00
Jeff Walden
21d4a821b2 Bug 835542 - Add an IntegralConstant helper to TypeTraits.h, and use it where the spec says we should be using it. r=bjacob
--HG--
extra : rebase_source : a1272a85489771ce1cbe5c3aaa678b5b04b49226
2012-12-16 18:20:17 -05:00
Terrence Cole
fed4049da4 Backed out changeset 3af927a8260c for suspected bustage on a CLOSED TREE
--HG--
extra : rebase_source : 4f69820605dd64ef6e89604749ad643138605fbe
2013-03-27 16:01:00 -07:00
Terrence Cole
d1fc04d321 Bug 852802 - Add incremental needsBarrier to the runtime and check it first; r=billm
--HG--
rename : content/svg/content/src/SVGFETurbulenceElement.h => content/svg/content/src/nsSVGFilters.cpp
extra : rebase_source : d30970922e139e6d1a87bbdf53f27b4e67313b08
2013-03-19 17:59:42 -07:00
Terrence Cole
6295cc7946 Bug 852802 - Add incremental needsBarrier to the runtime and check it first; r=billm
--HG--
extra : rebase_source : b5af1fbd8f587e152e115f9c74222f195d0d97b5
2013-03-19 17:59:42 -07:00
Ryan VanderMeulen
b8d0fdf69d Backed out changeset 6b6a4d28e510 (bug 852802) for bustage on a CLOSED TREE. 2013-04-01 12:34:57 -04:00
Terrence Cole
8cbc9ef1ad Bug 852802 - Add incremental needsBarrier to the runtime and check it first; r=billm 2013-03-19 17:59:42 -07:00
Phil Ringnalda
a1e8f5ab94 Back out e0038e628250 and 02b242697afb (bug 850523) for test_memoryReporters.xul crashes
CLOSED TREE
2013-03-17 22:15:25 -07:00
Nicholas Nethercote
7c30d7630e Bug 850523 (part 1) - Add a "js-main-runtime-temporary-peak" memory reporter. r=wmccloskey,jlebar.
--HG--
extra : rebase_source : d183213c48b9d07fb62fce830998bcb8bb044f47
2013-03-06 20:40:36 -08:00
Chuck Lee
198c348330 Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence 2013-02-22 10:58:52 +08:00
Jonathan Kew
5219b8ae03 backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
c330d96d13 Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
Jacek Caban
b4c284022a Bug 841695 - Fixed ToPropertyKeySlow redeclared without dllimport warning r=Waldo
--HG--
extra : rebase_source : 5999cdc037b856707969b059739d35fec23428c5
2013-02-18 12:29:51 +01:00
L. David Baron
c0b261e3e4 Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn 2013-02-17 22:56:32 -08:00
Nicholas Nethercote
544aa6ceec Bug 685783 - Avoid slop in js::Vector when the element size is not a power of two. r=luke.
--HG--
extra : rebase_source : cd7633073f3765b635f08f948044ff109d196ce8
2013-02-10 13:56:22 -08:00
Nicholas Nethercote
9fe308c74c Bug 840809 (part 1) - Fix a comment and rename a constant in HashTable.h. r=luke.
--HG--
rename : content/svg/content/src/SVGComponentTransferFunctionElement.h => content/svg/content/src/nsSVGFilters.cpp
extra : rebase_source : 98370c5137aa67a3f2cedb7fc81668bb80b559bb
2013-02-14 11:11:15 -08:00
Jeff Walden
ccc99791eb Bug 835551 - Add a new header consolidating non-configure-generated #defines that we require in order to build. r=ted
--HG--
extra : rebase_source : 58c101eeff26cd8060d76a60f6a9b8241b5c9cdb
2013-02-06 19:09:59 -08:00
Terrence Cole
b463fd6507 Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke 2013-02-12 17:48:10 -08:00
Terrence Cole
ae3a10829b Back out changeset 0d285589f47a (Bug 839673) - Broken Merge 2013-02-13 11:04:25 -08:00
Terrence Cole
884dec5816 Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke
--HG--
extra : rebase_source : 8880f66b823b58b8d723fbf2bca4848cc1173ce9
2013-02-12 17:48:10 -08:00
Till Schneidereit
9e993e5cc6 Bug 679940 - Share bytecode, source notes and atoms of functions in a runtime wherever possible. r=bhackett
--HG--
extra : rebase_source : 1518f7830a5640a2216c2d828859b8660d3fff60
2013-02-02 00:02:08 +01:00
Steve Fink
8979aa7655 Bug 668583 - Detect rope corruption earlier in opt builds. r=billm
--HG--
extra : rebase_source : 646e143f453f36c72c379dae521cc59b24fc5584
2013-02-12 11:07:26 -08:00
Jeff Walden
15f60ef632 Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo 2013-02-08 22:59:54 -08:00
Steve Fink
84a20940a8 Bug 838014 - Rooting in ionmonkey, r=terrence
--HG--
extra : rebase_source : cd1978b4e9d43ce4459fc43b79adfac00b2b00d9
2013-02-08 13:44:35 -08:00
Razvan Cojocaru
15c13f8d76 Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
2013-02-08 13:18:49 -08:00
Steve Fink
e46eeecb59 Backed out changeset ced35810adb2 (bug 838014). Again. 2013-02-07 17:06:42 -08:00
Steve Fink
870d4573ec Bug 838014 - Rooting in ionmonkey. r=terrence. Relanding.
--HG--
extra : rebase_source : 6df06564ba73b2f3c34274e077025c510f5e9ccc
2013-02-07 13:32:00 -08:00
Jeff Walden
ded452f8a5 Bug 837773 - Add a PropertyKey.h header. r=jorendorff
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : 1756e599b0718b8e765cecb972737040e0ba56e4
2013-02-01 16:42:48 -08:00
Jeff Walden
75d4e3a04d Bug 837773 - Change private uint32_t Values to use the int32_t representation, for simplicity. r=luke
--HG--
extra : rebase_source : 75e7118b9e5713dc252043e6f40d79e238a2480f
2013-02-01 18:41:35 -08:00
Jeff Walden
fb13aa0bce Bug 837773 - Move JS::Value into Value.h. r=jorendorff
--HG--
extra : rebase_source : b41cee90d5c08a6e1c23f023af2eb2f1ac41e1a3
2013-02-01 16:15:49 -08:00
Jeff Walden
b730ad62b4 Bug 837773 - Move JS::Anchor into js/public/Anchor.h, necessary to properly make Value.h an independent header. r=jorendorff
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : c109f562aea18e7466b6af6fd1dd2efae11b0333
2013-02-01 15:31:00 -08:00
Jeff Walden
083e74deca Bug 837773 - Move js/src/jsval.h to js/public/Value.h. r=jorendorff
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : 224d021ad357f133b0b04658ca9b59a52b74fd65
2013-02-01 14:24:37 -08:00
Nicholas Nethercote
524f6ea9b5 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
b4eec14ca3 Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
ae7837bdef Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!

--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Terrence Cole
a3e6adc9fa Bug 706885 - Rework Rooting APIs to preserve all available type information; r=billm 2013-01-28 18:25:23 -08:00
Sean Stangl
91ab29a936 Bug 749358 - Inline MUse storage. r=luke 2013-01-28 15:30:50 -08:00
Terrence Cole
d51fb2712c Bug 706885 - Add a pointer to the JSRuntime on the gc::Chunk; r=billm
--HG--
extra : rebase_source : f6ac0b0db7791b365d0e63f6fea2e5f451964453
2013-01-23 12:22:36 -08:00
Bill McCloskey
0e1f799e7b Bug 751618 - Zone renaming part 7 (r=jonco) 2013-01-27 13:51:41 -08:00
Bill McCloskey
20da154356 Bug 751618 - Zone renaming part 2 (r=jonco) 2013-01-27 13:51:35 -08:00
Bill McCloskey
6949e36ae6 Bug 751618 - Zone renaming part 1 (r=jonco) 2013-01-27 12:37:18 -08:00
Bill McCloskey
8544cb4e1d Bug 751618 - Add js/GCAPI.h (r=terrence) 2013-01-27 12:35:12 -08:00
Luke Wagner
e42dd44ea4 Bug 832071 - Replace custom AutoDestroyAllocator with ScopedJSDeletePtr (and rename ScopedDeletePtr to ScopedJSDeletePtr) (r=dvander)
--HG--
extra : rebase_source : 84229d3a9453d3f4aab8a84583b6e0d1e0e3a0a4
2012-11-01 21:35:21 -07:00
Luke Wagner
b0f73dd733 Bug 832090 - make HashMap/Set movable (r=terrence)
--HG--
extra : rebase_source : 7c6a7a0d03bf361f2ee7c853f7f07bf15841b21b
2012-11-28 15:19:39 -08:00
Nicholas Nethercote
004a30a0a5 Bug 832026 - Measure JSRuntime::bumpAlloc_ in the JS memory reporter. r=sstangl.
--HG--
rename : js/src/tests/lib/jittests.py => js/src/jit-test/jit_test.py
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1-ref.html => layout/reftests/css-calc/background-image-gradient-1-ref.html
rename : layout/reftests/w3c-css/submitted/values3/calc-background-image-gradient-1.html => layout/reftests/css-calc/background-image-gradient-1.html
rename : layout/reftests/w3c-css/submitted/values3/reftest.list => layout/reftests/css-calc/reftest.list
rename : layout/reftests/text/auto-hyphenation-10-ref.html => layout/reftests/text/auto-hyphenation-10.html
rename : layout/reftests/text/auto-hyphenation-8-ref.html => layout/reftests/text/auto-hyphenation-8.html
rename : layout/reftests/text/auto-hyphenation-9-ref.html => layout/reftests/text/auto-hyphenation-9.html
rename : services/common/servicesComponents.manifest => services/sync/SyncComponents.manifest
extra : rebase_source : 6b9d955241e189e52c6145f3fb4c3169ec834b78
2013-01-17 17:50:21 -08:00
Terrence Cole
c0f45e01f5 Bug 799248 - Remove the SkipRoot in NewShortString; r=billm
--HG--
extra : rebase_source : f73996e2246b2b75df01189ae057dc0332ba41c9
2013-01-15 13:51:56 -08:00
Terrence Cole
912e1ad2ed Bug 811060 - Move DeflateString out of jsstr and make it Typey; r=Waldo
--HG--
extra : rebase_source : 9d239c525e8b0c04a63770d4ed732c9c6da54a2c
2012-11-09 09:45:25 -08:00
Andrew McCreight
0ea7b9fd4d Bug 690970, part 1: unmark gray read barrier for weak maps. r=billm 2013-01-08 10:36:51 -08:00
Justin Lebar
537bde4ae4 Bug 826951 - Compact hashtables if they're underloaded, instead of shrinking them by a factor of 2. r=luke 2013-01-08 11:04:19 +01:00
Justin Lebar
1be8d05c35 Bug 827234 - Move Swap to js/public/Utility from js/src/jsutil.h. r=terrence 2013-01-08 11:04:19 +01:00
Justin Lebar
bc2b60094e Bug 827238 - Fix an out-of-date comment in js/public/HashTable.h r=luke 2013-01-08 11:04:19 +01:00
Jon Coppeard
14c8261e29 Bug 781070 - make NullPtr public r=terrence
--HG--
extra : rebase_source : d59f24956708178c310cfca220bfd77d237e8f19
2013-03-20 10:41:20 +00:00
Jan de Mooij
eb375c1d4a Bug 850156 - Use separate memory reporters for Ion and baseline code. r=njn,dvander 2013-03-20 11:24:17 +01:00
Terrence Cole
e42d1d2e11 Bug 844932 - HashTable rekey fixup does not guarantee !overloaded; r=sfink
--HG--
extra : rebase_source : e9354d0d3377f75c56cee8a0b2d6078fa9d9fbdb
2013-02-25 10:37:36 -08:00
Nicholas Nethercote
6a3f1a1648 Bug 826526 - Modify the orphan node reporter so it handles WebIDL objects. r=bz. 2013-01-06 20:43:54 -08:00
Terrence Cole
b680b1170a Bug 826435 - Do not allow poisoned pointers near a HashTable; r=sfink
The rooting analysis depends on all usage of a poisoned pointer to crash. This
patch makes the above usage crash, as required.

--HG--
extra : rebase_source : 3d67e4c44cee91d889edbf6641cebe9887fb10ee
2013-01-03 17:01:38 -08:00
Jeff Walden
759a518344 Bug 752578 - Remove the JS guard object implementation. r=Ms2ger
--HG--
extra : rebase_source : 3802e20dc76c7b18001cf852f748099ccb493d2e
2012-12-27 11:20:22 -06:00
Nicholas Nethercote
8c3e8f0d58 Bug 814229 (part 2) - Refactor storage of the "objects-extra" numbers.
--HG--
extra : rebase_source : 2125ae4446928fbc7432f22505565b9b246f960d
2012-11-21 17:07:42 -08:00
Nicholas Nethercote
615e573039 Bug 814229 (part 1) - Add "objects-extra/ctypes-data" memory report. r=jorendorff.
--HG--
extra : rebase_source : 8b65b74b5c22ebf7525eeff51601e36274d56736
2012-11-21 17:05:39 -08:00
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Bill McCloskey
417249e590 Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
--HG--
extra : rebase_source : 260e28983e892928daee5e661f52a66d7e6cd30a
2012-11-28 17:03:54 -08:00
Bill McCloskey
690ea30784 Bug 815999 - Mark gray globals black before returning them to the debugger (r=mccr8) 2012-12-03 17:59:46 -08:00
Bill McCloskey
209e95fac1 Backout a6b604916694 (bug 747066) because it's broken 2012-11-30 12:20:24 -08:00
Bill McCloskey
d301af36be Bug 747066 - Inline xpc_UnmarkGray (r=terrence) 2012-11-28 17:03:54 -08:00
Bill McCloskey
f5bffd6ef5 Backout 4a88d1080c08 (bug 747066) for orange 2012-11-28 16:59:17 -08:00
Bill McCloskey
d2d5904213 Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
--HG--
extra : rebase_source : 9a5fe3cdcac2e3352407031c969ed705b0458dab
2012-11-19 10:59:01 -08:00
Bill McCloskey
dcc622c54b Backout 2ee20348ae59 (bug 747066) for Win64 crashes 2012-11-20 10:45:43 -08:00
Bill McCloskey
bc41cc980a Bug 747066 - Inline xpc_UnmarkGray (r=terrence) 2012-11-19 10:59:01 -08:00
Nicholas Nethercote
bf0e02fe87 Bug 789398 - Rework the type inference memory reporters. r=bhackett.
--HG--
extra : rebase_source : 945c35907d0d4a62b904664da7b5f2b35a182034
2012-11-18 14:40:01 -08:00
Luke Wagner
da2499ccc0 Bug 810192 - don't require a default constructor for Hash{Map,Set}; only construct objects for live elements (r=terrence) 2012-11-12 15:30:39 -08:00
Terrence Cole
ab0d85ee35 Bug 807151 - Unexport |mozilla| from the |js| namespace; r=Waldo
Clang does not want to allow js::ion::Range and mozilla::Range simultaneously
when we have a |namespace js { using namespace mozilla; }| declaration.
2012-11-06 17:35:18 -08:00
Landry Breuil
73365fd34f Bug 792085. Fix js build on ppc, broken since ionmonkey merge. r=dvander
Sprinkle some #ifdef JS_IOn/JS_METHODJIT around ion includes.
Fix part of #746112, where pagesize was set to 64k on all ppcs,
while it seems it's only on ppc64.
2012-11-06 19:50:19 +01:00
David Anderson
88229dd518 Update Yarr to WebKit rev 130234 (bug 740015, r=dmandelin). 2012-11-01 21:35:25 -07:00
Nicholas Nethercote
1c9660a37a Bug 806283 - Split up and add native iterators to "object/misc" memory reports. r=jorendorff.
--HG--
extra : rebase_source : 867e178d0c921de9e144fb274e1c0d77c8845b81
2012-11-01 16:51:04 -07:00
Bill McCloskey
70a8d7ef1c Bug 807161 - Remove extern C and #ifdef __cplusplus from JSAPI (r=luke) 2012-10-30 18:28:34 -07:00
Nicholas Nethercote
dfb006bf92 Bug 805915 (part 5) - Add more detail to shape memory reports. r=luke.
--HG--
extra : rebase_source : f1a05ea15b78e5f33d6398accca3333ab29fa1c6
2012-10-29 08:51:21 +11:00
Nicholas Nethercote
dd15137c21 Bug 805915 (part 4) - Add more detail to string memory reports. r=luke.
--HG--
extra : rebase_source : 010e28f10917ae4cc9d0d11abace9bcdabf0aba8
2012-10-29 08:51:21 +11:00
Nicholas Nethercote
17209cb3c5 Bug 805915 (part 2) - Add more detail to object memory reports. r=luke.
--HG--
extra : rebase_source : e54ece88753280ccac284f6265fd92310dc1bec6
2012-10-29 08:51:21 +11:00
Nicholas Nethercote
d46cd5f2d4 Bug 805915 (part 1) - Rename the "cross-compartment-wrappers" memory report. r=luke.
--HG--
extra : rebase_source : a9689bde17b043bc8bec55c0307c0bbf94768232
2012-10-29 08:51:21 +11:00
Bill McCloskey
f8f8d7017f Bug 692267 - Remove js/src/gc/Heap.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:18:50 -07:00
Bill McCloskey
2e039c483d Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Justin Lebar
21c38c75e3 Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn 2012-10-17 10:44:31 -04:00
Terrence Cole
a67474905a Bug 793577 - Implement Return<T> for direct returns of unrooted GC pointers; r=billm r=njn
Return<T> wraps GC things that are returned from accessor methods.  The wrapper
helps to ensure correct rooting of the returned pointer and safe access while
unrooted.
2012-09-26 11:13:20 -07:00
Justin Lebar
9ed3356569 Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-12 10:26:06 -04:00
Nicholas Nethercote
0a7dd0f914 Bug 800481 - Remove unnecessary second arg from HashTable::hash{1,2}. r=luke. 2012-10-11 16:36:29 -07:00
Ehsan Akhgari
1b602e3962 Backout bug 798510 because of xpcshell orange 2012-10-11 20:17:33 -04:00
Justin Lebar
d90a8e1023 Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-11 18:55:53 -04:00
Nicholas Nethercote
b1fb442071 Bug 799019 - Tweak per-compartment memory reporting. r=Ms2ger.
--HG--
extra : rebase_source : 66bab372c7b3a7f4cebfd059b4c64a7562ba1f5d
2012-10-08 15:20:26 -07:00
Nicholas Nethercote
9360dbe970 Bug 747202 - Separate and clean up JaegerMonkey's and IonMonkey's memory reporting. r=dvander. 2012-09-19 18:16:49 -07:00
Jeff Walden
736d91284b Use MOZ_DELETE on the copy/assignment operators for various hash classes. No bug, r=lumpy
--HG--
extra : rebase_source : f9fb08566c17f62c189b1469e3730554b6fbe1ce
2012-09-10 13:27:04 -07:00
Jeff Walden
f7d62e2bcd Tweak an assertion in HashTable.h to use initialized() rather than !null, for clarity. No bug, r=sparky
--HG--
extra : rebase_source : a6110712d528e52323293cdbff4b171c5fda6401
2012-09-10 13:17:55 -07:00
David Anderson
043ddae94a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
6b403f94c2 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
b73ff50165 Bug 787291 - add pod_malloc<T> et al (r=billm) 2012-08-31 15:10:10 -07:00
Luke Wagner
002cf7abaa Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm) 2012-08-31 15:01:33 -07:00
David Anderson
644c651c3e Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
David Anderson
88ed1ce560 Merge from mozilla-central. 2012-07-26 18:19:02 -07:00
David Anderson
10352157a6 Merge from mozilla-central. 2012-07-23 12:37:49 -07:00
David Anderson
921bd834c9 Merge from mozilla-central.
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
David Anderson
b93d6b9c04 Merge from mozilla-central. 2012-07-12 13:23:26 -07:00
David Anderson
56d1e29054 Merge from mozilla-central.
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Nicholas Nethercote
f8cf077180 Bug 771378 (part 0) - Add ScopedFreePtr to Utility.h. r=jwalden.
--HG--
extra : rebase_source : b43cb64bb1175c4111903f5c30f533612daae841
2012-07-05 17:29:56 -07:00
Luke Wagner
22b7a4a825 Bug 770795 - add NullPtr and associated Handle constructor (r=billm) 2012-07-08 03:00:11 -07:00
Terrence Cole
2701cb65ad Bug 776583 - Make post barrier verifier pass interpreter tests; r=billm
--HG--
extra : rebase_source : c5c8865774d32513cbed97b98b3084f04a61a7f1
2012-07-16 10:54:56 -07:00
Benjamin Peterson
78a339dd91 Bug 761723 - Add memory reporting for script sources. r=njn
--HG--
extra : rebase_source : 5f2cdb960f29829e9da19bbe137a810f456cc7fc
2012-07-20 20:18:08 +02:00
Rafael Ávila de Espíndola
9e9d6d39b5 Bug 778301 - Remove old change for llvm.org/pr11003.
--HG--
extra : rebase_source : 41006c35798d0722a43b6c37bc0216a6c6064aa9
2012-07-28 08:04:45 -04:00
David Anderson
eccdd8879b Merge from mozilla-central. 2012-06-26 15:37:34 -07:00
Nicholas Nethercote
ddf6acd6f8 Bug 711130 (part 6) - Improve the measurement of decommitted GC memory. r=terrence.
--HG--
extra : rebase_source : ad344b58798cb6837a59f3d48f57880b036c300e
2012-06-25 17:09:00 -07:00