Nicholas Nethercote
2df79be674
Bug 709470 - Use mallocSizeOf in the xpti memory reporter. r=khuey.
...
--HG--
extra : rebase_source : 6f9096f44e1c09c63c5294c3cae5c6cf46c350b2
2011-12-13 20:54:20 -08:00
Justin Lebar
533924a0b0
Bug 670967 - Part 2: Wrap VirtualAlloc and friends, firing a low-memory notification if we notice that we're running low on virtual or physical memory after the wrapped function completes. r=bsmedberg
...
--HG--
extra : rebase_source : 95e8f6c1bd89991ff04b031795fb2b2c2d750849
2011-12-15 14:48:38 -05:00
Justin Lebar
7f710c6425
Bug 670967 - Part 1: Add mozilla::ScheduleMemoryPressureEvent(). r=bsmedberg
...
--HG--
extra : rebase_source : d1d8b245aa3b86ae434b0b2694d8781f25ad0683
2011-08-05 18:10:50 -04:00
Jacek Caban
0d8a0dc204
Bug 707469 - Don't use UNIX variant xptcinvoke implementation on mingw r=benjamin
...
--HG--
extra : rebase_source : 0602f21e843742ba814b070fbe1d856668d61421
2011-12-15 17:14:34 +01:00
Justin Lebar
26afae03b7
Bug 706958 - Add ClearOnShutdown() function which will clear a smart pointer on shutdown. r=bsmedberg
2011-12-15 10:51:11 -05:00
Justin Lebar
4b436ba76a
Back out bug 670967 due to Android red.
2011-12-15 09:42:21 -05:00
Justin Lebar
7c1b792bf7
Bug 670967 - Part 2: Wrap VirtualAlloc and friends, firing a low-memory notification if we notice that we're running low on virtual or physical memory after the wrapped function completes. r=bsmedberg
2011-12-15 09:09:53 -05:00
Justin Lebar
dea4c05b52
Bug 670967 - Part 1: Add mozilla::ScheduleMemoryPressureEvent(). r=bsmedberg
2011-08-05 18:10:50 -04:00
Mike Hommey
05091dfacb
Bug 709721 - Move video and audio libraries in a gkmedias library on Windows. r=khuey
2011-12-15 06:40:20 +01:00
Matt Brubeck
828e51635c
Bug 708772 - (2/3) Add tablet flag to jar manifest parser and nsSystemInfo [r=bsmedberg]
2011-12-14 13:53:38 -08:00
Kyle Huey
9468451f00
Backout Bug 709657 because it doesn't help our problem.
2011-12-14 08:01:49 -05:00
Ehsan Akhgari
a544dace2d
Bug 710473 - Backout the nsDerivedSafe part from bug 666414 to make PGO builds on Windows work again; r=roc (cause he volunteered) a=xul-diet
2011-12-13 20:03:24 -05:00
Kyle Huey
13ed1dd9cb
Bug 709657: Split uconv out of libxul. r=me a=me CLOSED TREE
...
--HG--
rename : intl/uconv/src/Makefile.in => intl/uconv/datamodule/Makefile.in
rename : intl/uconv/src/nsUConvModule.cpp => intl/uconv/datamodule/nsUConvDataModule.cpp
2011-12-13 10:48:16 -05:00
Andrew Quartey
faa8be8d82
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Javi Rueda
313b993b78
Bug 379342 - Remove Win95/Win98 support code in XPCom; r=bsmedberg a=removal
2011-12-13 14:17:58 +00:00
Ed Morley
bfdb0a9be6
Merge mozilla-central to mozilla-inbound
2011-12-09 11:36:04 +00:00
Ed Morley
2b74cc516b
Merge last green changeset of mozilla-inbound to mozilla-central
2011-12-09 11:12:51 +00:00
Jacek Caban
3922d8a8d1
Backout changeset e76f06f7e08d
2011-12-09 11:54:32 +01:00
Neil Rashbrook
07d2a98926
Bug 698256 Add and use Substring(data, length) convenience method r=dbaron
2011-12-09 08:35:41 +00:00
Nicholas Nethercote
587382cea2
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Jacek Caban
2b5f4f4776
Bug 707469 - Don't use UNIX variant xptcinvoke implementation on mingw r=benjamin
2011-12-09 11:27:12 +01:00
Honza Bambas
85f602de44
Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold
2011-12-09 00:14:42 +01:00
Mike Hommey
2144923ad8
Bug 695843 part 10 - Allow nested omni.jar and build one for Android. r=bsmedberg
2011-12-08 11:03:36 +01:00
Nicholas Nethercote
dfd419a275
Bug 703143 - backout 61d41436beb3 so that bug 700508 can be backed out. r=crashes.
2011-12-08 11:34:18 -08:00
Jeff Muizelaar
9c4d4fff06
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
Nicholas Nethercote
688c469bc9
Bug 704400 - Implement --enable-dmd. r=khuey.
2011-12-08 19:09:36 -08:00
Mike Hommey
57f9bdde28
Bug 695843 part 9 - Use FileLocations in the component manager. r=bsmedberg
2011-11-08 18:10:51 +01:00
Mike Hommey
e03cb9cf60
Bug 695843 part 6 - Don't separate file and JAR modules in component manager. r=bsmedberg
2011-11-08 18:18:12 +01:00
Mike Hommey
3b231d3819
Bug 695843 part 5 - Add a FileLocation class to either store a pair (zip, path) or a file, and do some operations on these. r=bsmedberg,mwu
2011-12-08 11:03:36 +01:00
Mike Hommey
c54c181a64
Bug 695843 part 3 - Use mozilla::AutoFDClose instead of ad hoc AutoCloseFD classes. r=bsmedberg
2011-12-08 11:03:36 +01:00
Mike Hommey
e2ad2d961b
Bug 695843 part 2 - Avoid code duplication for components manifest registration. r=bsmedberg
2011-12-08 11:03:36 +01:00
Mike Hommey
bc8357295d
Bug 695843 part 1 - Add Refcounting on nsZipArchives. r=mwu
2011-12-08 11:03:36 +01:00
Jeff Walden
3d8e7a0d23
Bug 707352 - Remove NS_FINAL_CLASS completely. r=cjones
2011-12-05 17:10:05 -05:00
Atul Aggarwal
6584c20f9e
Bug 603243 - Making nsTString_CharT(char_type c) constructor private to avoid accidental misusage.
2011-11-16 19:42:03 +05:30
Ed Morley
8da64e2394
Backout 9a59028a3510 (bug 676349) on suspicion of breaking Win PGO builds
2011-12-07 02:22:09 +00:00
Nicholas Nethercote
75ed0e4814
Bug 700508 - Disallow non-leaf memory reporters. r=jlebar.
2011-12-06 16:20:17 -08:00
Rafael Ávila de Espíndola
bb57c6b547
Bug 707648 - Only try to init the critical range if we are able to walk the stack. r=ehsan.
2011-12-06 14:26:49 -05:00
Honza Bambas
24e151d023
Bug 676349 - Implement high-resolution platform timers for the Windows platform, r=robarnold
2011-12-06 12:16:16 +01:00
Nicholas Nethercote
6c8107ba0c
Bug 704723 - Add memory reporter for XPConnect. r=mrbkap.
2011-12-05 14:24:28 -08:00
Steve Workman
86d2741529
Bug 694325: Add files for DNS Multithreading on Android; avoid undefined, unexposed libc symbols r=mwu
2011-12-05 10:41:11 -08:00
Rafael Ávila de Espíndola
53074edbcb
Backed out changeset c7bba86f5e02
...
It was failling with
../../../../../../../xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp:66:1: error: expected initializer before 'PrepareAndDispatch'
make[10]: *** [xptcstubs_x86_64_linux.o] Error 1
2011-12-05 10:39:20 -05:00
Jan Hubicka
76f9a1362d
Bug 577813 - Missing __attribute__ ((used)) on PrepareAndDispatch functions. r=benjamin.
2011-12-05 10:20:32 -05:00
jhorak@redhat.com
ad5d435d36
Bug 682832 - Don't ignore Gnome 3 proxy settings. r=karlt
2011-12-05 15:45:54 +01:00
Martin Stransky
14c35b53b1
Bug 706787 - Crash on s390x (nsXPCComponents::AttachNewComponentsObject() fails). r=glandium
2011-12-05 10:49:56 +01:00
Rafael Ávila de Espíndola
561bf65f37
Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
...
Currently we use dlsym on pthread_cond_wait$UNIX2003 to find a
function that indicates that new_sem_from_pool is on the stack. This
works on 10.5, but on 10.6 I could not find a single reliable
indicator that would work with dlsym.
The good news is that dladdr works with any symbol, not just exported
ones. To find the address of new_sem_from_pool, we set up a malloc logger
and force a call to new_sem_from_pool. From the logger callback we walk
the stack trying dladdr on every address.
To force a call to new_sem_from_pool, the initialization code has to be the
first to use semaphores, so it is now run from NS_LogInit.
This works on 10.6 and 10.5 (but we have to look for
"pthread_cond_wait$UNIX2003"). In 10.7 the call to malloc is gone, so we don't
have to worry about critical addresses on it anymore.
--HG--
extra : rebase_source : bba4ac9e3378c88f7037aa884511e473a57121f6
2011-12-02 19:26:04 -05:00
Chris Lord
cbca29d21a
Backout bug 696376
...
This broke building on android due to requiring a newer version of unwind.h.
2011-12-02 18:00:58 +00:00
Rafael Ávila de Espíndola
b573c23826
Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
...
Currently we use dlsym on pthread_cond_wait$UNIX2003 to find a
function that indicates that new_sem_from_pool is on the stack. This
works on 10.5, but on 10.6 I could not find a single reliable
indicator that would work with dlsym.
The good news is that dladdr works with any symbol, not just exported
ones. To find the address of new_sem_from_pool, we set up a malloc logger
and force a call to new_sem_from_pool. From the logger callback we walk
the stack trying dladdr on every address.
To for a call to new_sem_from_pool, the initialization code has to be the
first to use semaphores, so it is now run from NS_LogInit.
This works on 10.6 and 10.5 (but we have to look for
"pthread_cond_wait$UNIX2003"). In 10.7 the call to malloc is gone, so we don't
have to worry about critical addresses on it anymore.
2011-12-01 18:22:00 -05:00
Brian R. Bondy
186e1b621a
Bug 688881 - Buffer overflow fix in nsDirectoryService::GetCurrentProcessDirectory. r=ehsan
2011-11-28 18:59:20 -05:00
Terrence Cole
d0ff732f1d
Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
...
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC. This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.
--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Rafael Ávila de Espíndola
c864603bb4
Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
...
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00