Граф коммитов

192 Коммитов

Автор SHA1 Сообщение Дата
Luke Wagner b487585a8f 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 1d2e8c5180 Bug 832090 - make HashMap/Set movable (r=terrence)
--HG--
extra : rebase_source : 7c6a7a0d03bf361f2ee7c853f7f07bf15841b21b
2012-11-28 15:19:39 -08:00
Nicholas Nethercote 3d1624e9a0 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 18918e9b73 Bug 799248 - Remove the SkipRoot in NewShortString; r=billm
--HG--
extra : rebase_source : f73996e2246b2b75df01189ae057dc0332ba41c9
2013-01-15 13:51:56 -08:00
Terrence Cole 8c1294c2d2 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 f35a0a52f1 Bug 690970, part 1: unmark gray read barrier for weak maps. r=billm 2013-01-08 10:36:51 -08:00
Justin Lebar 572901583f 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 a0542efd73 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 e111de2b75 Bug 827238 - Fix an out-of-date comment in js/public/HashTable.h r=luke 2013-01-08 11:04:19 +01:00
Nicholas Nethercote 15bd23a0ac Bug 826526 - Modify the orphan node reporter so it handles WebIDL objects. r=bz. 2013-01-06 20:43:54 -08:00
Terrence Cole f427d43587 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 237a838ccc 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 27bfd27b37 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 09fa6b630b 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 120886ca73 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 929f849c5a Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
--HG--
extra : rebase_source : 260e28983e892928daee5e661f52a66d7e6cd30a
2012-11-28 17:03:54 -08:00
Bill McCloskey b7a9fff0cc Bug 815999 - Mark gray globals black before returning them to the debugger (r=mccr8) 2012-12-03 17:59:46 -08:00
Bill McCloskey eccb5c7216 Backout a6b604916694 (bug 747066) because it's broken 2012-11-30 12:20:24 -08:00
Bill McCloskey f03931dfaf Bug 747066 - Inline xpc_UnmarkGray (r=terrence) 2012-11-28 17:03:54 -08:00
Bill McCloskey d08b3f224f Backout 4a88d1080c08 (bug 747066) for orange 2012-11-28 16:59:17 -08:00
Bill McCloskey 2ba7d72ea2 Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
--HG--
extra : rebase_source : 9a5fe3cdcac2e3352407031c969ed705b0458dab
2012-11-19 10:59:01 -08:00
Bill McCloskey 742e117df4 Backout 2ee20348ae59 (bug 747066) for Win64 crashes 2012-11-20 10:45:43 -08:00
Bill McCloskey 4e8591dd0b Bug 747066 - Inline xpc_UnmarkGray (r=terrence) 2012-11-19 10:59:01 -08:00
Nicholas Nethercote f41b18a4d6 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 24bb8ac700 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 cd906e6a9c 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 00dbe2e176 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 6b1639d999 Update Yarr to WebKit rev 130234 (bug 740015, r=dmandelin). 2012-11-01 21:35:25 -07:00
Nicholas Nethercote 0a726cdb19 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 d5bc363b29 Bug 807161 - Remove extern C and #ifdef __cplusplus from JSAPI (r=luke) 2012-10-30 18:28:34 -07:00
Nicholas Nethercote b78a6d0425 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 b602643bc5 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 fe068d7611 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 9c33f3f643 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 d44fdd4f00 Bug 692267 - Remove js/src/gc/Heap.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:18:50 -07:00
Bill McCloskey a6cd2f8c4f Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Justin Lebar be2864ee16 Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn 2012-10-17 10:44:31 -04:00
Terrence Cole 48105e69e7 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 a82900f6ee 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 146880df7e Bug 800481 - Remove unnecessary second arg from HashTable::hash{1,2}. r=luke. 2012-10-11 16:36:29 -07:00
Ehsan Akhgari 360f83a99f Backout bug 798510 because of xpcshell orange 2012-10-11 20:17:33 -04:00
Justin Lebar 94115895ce 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 9ddf540b9b Bug 799019 - Tweak per-compartment memory reporting. r=Ms2ger.
--HG--
extra : rebase_source : 66bab372c7b3a7f4cebfd059b4c64a7562ba1f5d
2012-10-08 15:20:26 -07:00
Nicholas Nethercote 8fce2522d5 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 6ee8d9b9ba 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 42caf0acd9 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 f6eca6c7f0 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 a77264d9fb 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 77ce07cbdd Bug 787291 - add pod_malloc<T> et al (r=billm) 2012-08-31 15:10:10 -07:00
Luke Wagner 76b8fb7891 Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm) 2012-08-31 15:01:33 -07:00