Terrence Cole
8455cb6e51
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
Nicholas Nethercote
daa6a0eba8
Bug 791607 - Remove unnecessary |#include <new>| directives. r=dmandelin.
2012-09-20 20:42:43 -07:00
David Anderson
7b70ee195a
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
9e81520770
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
8c486830fd
Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm)
2012-08-31 15:01:33 -07:00
David Anderson
0b6251a780
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
David Anderson
86f0b2a6d8
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
Bill McCloskey
e296fc91da
Bug 777919 - Free LifoAlloc chunks on background thread (r=luke)
2012-07-26 18:05:31 -07:00
Jason Orendorff
5d2b887765
Bug 770850 - Reimplement DefnOrHeader as DefinitionList. r=njn.
2012-07-06 16:33:58 -05:00
David Anderson
531c35aeaa
Merge from mozilla-central.
2012-05-21 14:40:04 -07:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
David Anderson
92f2b9570d
Implement IonMonkey's ballast for infallible allocation (bug 756612, r=luke).
2012-05-18 17:28:36 -07:00
Christian Holler
1c16cd9f04
Bug 733493 - Improve JS shell OOM testing code, now with 100% less bustage. r=jorendorff
2012-03-10 15:53:03 -05:00
Gary Kwong
38ac40f69f
Backed out changeset 6169d8aa7a9d, a=tbplFire
2012-03-10 12:12:54 -08:00
Christian Holler
4cec72af96
Bug 733493 - Improve JS shell OOM testing code, r=jorendorff
2012-03-10 11:50:26 -08:00
Brian Hackett
3a886a65cd
Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke
2012-08-22 12:28:34 -06:00
Ed Morley
25981862a2
Backout d62929fa4325 for talos crashes
2012-08-22 14:53:11 +01:00
Brian Hackett
0bfe9633b5
Allow purging analysis-temporary while retaining jitcode, bug 778724. r=luke
2012-08-22 06:27:18 -06:00
Nicholas Nethercote
dd32d38d63
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Adam
c3fe45102e
Bug 688891: Remove unaligned LifoAlloc API. (r=cdleary)
2012-01-18 20:40:20 -08:00
Jason Orendorff
ee1591d990
Fix a few typos in comments in js/src. No bug, no_r=me.
2012-01-20 06:11:42 -06:00
Chris Leary
d0093ec383
Bug 719315: Free unused chunks. (r=luke)
2012-01-18 18:55:01 -08:00
Chris Leary
3c72dbeee9
Bug 717762: Proliferate js_memcpy and PodCopy, take 2. (r=luke)
...
--HG--
extra : rebase_source : 73083063f32036d037b34f0ec96d06192f2ae649
2012-01-17 14:32:36 -08:00
Jeff Walden
5d0d2b2e73
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Chris Leary
0371422967
Bug 712169: Make aligned/unaligned LifoAlloc consistent. (r=luke)
...
--HG--
extra : rebase_source : cff51d01e46f5b09d642368da532b9b6a8649053
2011-12-20 14:19:45 -08:00
Chris Leary
39c9740c62
Bug 706442: Shorten LifoAlloc chunk chain. (r=luke)
2011-12-01 17:59:50 -08:00
Nicholas Nethercote
f1e77095c2
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Igor Bukanov
2519d4d779
Bug 701560 - template version of merge sort. r=luke
...
This is the second attempt to land this - the previous landing attempt had compilation errors and warnings on 64 bit Linux.
2011-11-16 15:00:32 +01:00
Igor Bukanov
f26c126d96
Backed out changeset e1587f23d2f0, bug 701560 - compilation errors
2011-11-18 15:52:35 +01:00
Igor Bukanov
51b08258a8
Bug 701560 - template version of merge sort. r=luke
2011-11-16 15:00:32 +01:00
Terrence Cole
fdb5ec2f79
Bug 670596 - Mark ununused arenas as decommitted; r=?,njn
...
This patch tells the OS which pages we are not using after we do a GC_SHRINK.
The result is that the OS can do a better job managing memory, send less to
swap and will not count these pages against us in RSS.
2011-10-11 18:37:40 -07:00
Nicholas Nethercote
006eaea440
Bug 684800 - Measure slop in TI-related JS memory reporters. r=bhackett.
2011-11-01 21:59:43 -07:00
Chris Leary
f3b70ab7d0
Bug 673188: Compile regexps lazily. (r=mrbkap)
2011-10-07 03:04:00 -07:00
Chris Leary
0d6adcf81f
Bug 693928: Fix random orange from LifoAlloc debug memset. (r=luke)
...
--HG--
extra : rebase_source : 314ebeb6364ad0bb45baa6b7d7f09b9603e47b27
2011-10-12 15:32:40 -07:00
Chris Leary
f4c00c0c84
Bug 690933: Guard on LifoAlloc overflow. (r=luke)
2011-10-11 09:42:26 -07:00
Luke Wagner
c7d3e6785c
Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
...
--HG--
rename : js/src/jshashtable.h => js/public/HashTable.h
rename : js/src/jsvector.h => js/public/Vector.h
rename : js/src/mfbt/InlineMap.h => js/src/ds/InlineMap.h
extra : rebase_source : 818639b74653667b7a572bc1234398c0e4559a60
2011-10-04 15:33:00 -07:00
Jeff Walden
01a226215b
Fix a warning to not use |this| in a member initialization list (the usual thisDuringConstruction() trick). r=sparky, no bug
...
--HG--
extra : rebase_source : 7e4088d4fab99ba3c0cc5fd0d9531407c0a357f1
2011-10-05 14:20:54 -07:00
Chris Leary
eea74f7062
Bug 691143: Avoid negation of unsigned. (r=luke)
2011-10-03 10:28:50 -07:00
Chris Leary
924c144871
Fix license block errors. (DONTBUILD)
2011-09-29 11:54:51 -07:00
Chris Leary
14bc4cf54d
Bug 684039: rewrite JS LIFO allocator, avoids thrashing. (r=luke)
...
--HG--
rename : js/src/jsarena.h => js/src/ds/LifoAlloc.h
extra : rebase_source : 098bf9561114f82363ebd0862213acf952709257
2011-09-22 13:22:30 -07:00