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
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