Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Nicholas Nethercote 0e1cc95b5f Bug 1039965 - Avoid slop in JS arrays. r=bhackett,terrence.
This patch changes JS array resizing to always allocate power-of-two sized slot
requests. Previously it would mostly make slight-more-than-power-of-two sized
requests, which cause lots of slop.

Also, shrinkElements() now only does a reallocation if it would result in going
down a size class. E.g. if you pop all the elements from a 1000-element array,
it would realloc 999, then 998, then 997, all the way down the minimum size.
Now it does 512, then 256, down to the minimum size (which is 8).

I confirmed with DMD that the element allocations now have zero slop. This
reduces peak RSS loading a couple of large PDF files (four times each) with
pdf.js by 10s of MiBs.

--HG--
extra : rebase_source : 942c11de724843aa582e3a17b02043458a57e594
2014-07-17 21:14:20 -07:00
accessible Bug 1038210 - Fix the public destructors for refcounted classes in Windows only code in accessible; r=bjacob 2014-07-15 14:57:48 -04:00
addon-sdk Bug 1040336 - Uplift Add-on SDK to Firefox r=me 2014-07-17 13:54:21 -07:00
b2g Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-07-21 14:19:15 -07:00
browser Merge m-c to inbound 2014-07-21 17:34:59 -07:00
build Bug 978211 - various asan/mar/pretty/mach fixes; r=glandium 2014-07-03 22:14:59 -04:00
caps Bug 1035395, r=bholley,smaug 2014-07-18 09:37:42 -07:00
chrome Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan 2014-06-24 22:12:07 -07:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-07-21 14:19:15 -07:00
content Bug 1037370 - fix null exception for parentNode becomes null when the last token is finished. r=cajbir 2014-07-21 18:26:03 -07:00
db/sqlite3 Bug 1020815 - Upgrade SQLite to version 3.8.5 - Mozilla changes. r=mak 2014-06-24 14:46:02 -04:00
docshell Bug 1029887: Keep track of DOM nodes blocked by NS_ERROR_TRACKING_URI (r=khuey,smaug) 2014-06-24 17:37:03 -07:00
dom Bug 997717 - Move rejection handler out of downloadPackage r=myk 2014-07-21 10:26:58 +01:00
editor Bug 1028565 - Part 5: Flatten editor/{idl,public}/ directories. r=ehsan 2014-07-16 12:02:34 -07:00
embedding Bug 1038204 - Make two destructors in the Windows print GUI code private; r=bjacob 2014-07-15 15:00:15 -04:00
extensions Bug 693555 - Update inline spellchecker underlining for multiprocess(e10s).r=ehsan, mrbkap 2014-07-01 15:24:27 -07:00
gfx Fixup changeset f17694ec185b for bug 952977 r=me 2014-07-21 22:05:18 -04:00
hal Bug 1037212 - [Flame] Phone is not completely erased when a ringtone is set from the Music App r=dougt,dhylands,khuey 2014-07-17 18:30:47 -07:00
image Bug 1031576 (Part 1) - Add an Image subclass for dynamically-created images. r=tn 2014-07-21 17:59:22 -07:00
intl Bug 1039843 - Give nsCollationWin a private destructor; r=bjacob 2014-07-17 16:42:57 -04:00
ipc Bug 1033522 - Only initialize the Windows Group ID for plugin processes: other process types don't need it. Refactor the saved GRE dir to use a path rather than a non-threadsafe nsIFile object, r=jimm 2014-07-17 11:15:09 -04:00
js Bug 1039965 - Avoid slop in JS arrays. r=bhackett,terrence. 2014-07-17 21:14:20 -07:00
layout Bug 995519. Enable overlay scrollbars on root scrollframes in root content documents. r=roc 2014-07-15 00:09:24 -05:00
media Merge m-c to inbound. a=merge 2014-07-18 10:25:14 -04:00
memory Bug 1030899 - Remove issetugid usage on jemalloc. r=glandium 2014-07-08 17:52:09 +09:00
mfbt Bug 1037103 - Add deprecation notice/comments to Scoped.h. r=jcranmer 2014-07-10 17:45:45 -07:00
mobile Merge fx-team to mozilla-central a=merge 2014-07-21 17:25:48 -07:00
modules Backed out changeset ea2341b06e6f (bug 994541) for reftest timeouts 2014-07-21 17:26:40 +01:00
mozglue Back out f341384014d4, redness not trivially fixable. r=bustage affecting a CLOSED TREE 2014-07-21 13:20:31 -04:00
netwerk Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal 2014-07-21 11:34:17 -07:00
nsprpub Update NSPR to NSPR_4_10_7_BETA3 to fix bug 1034415 and bug 979278 2014-07-07 11:13:29 -04:00
other-licenses Bug 1004376 - Remove reliance on legacy skia apis GETTOTALCLIP. r=gw280 2014-06-20 11:03:09 -07:00
parser Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
probes
profile Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
python Bug 914563 - re-enable build resource recording on Windows; r=gps 2014-07-15 13:59:10 -04:00
rdf Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
security Bug 1041325 - Use intrin.h for _ReturnAddress in the chromium sandbox code; r=bbondy 2014-07-20 19:05:44 -04:00
services Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-07-21 14:19:15 -07:00
startupcache Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
storage Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
testing Bug 1009816 - Firefox desktop: openh264 updates: check, download, install. r=rstrong, gfritzsche a=kwierso 2014-07-17 21:46:10 -04:00
toolkit Merge m-c to fx-team. a=merge 2014-07-20 15:15:04 -04:00
tools Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
uriloader Bug 1040039 - Give nsMIMEInfoWin a private destructor; r=bjacob 2014-07-17 16:48:30 -04:00
view Bug 1027251 - Fix or whitelist dangerous public destructors in view/ - r=roc 2014-06-20 07:08:25 -04:00
webapprt Bug 1040996 - disable Flash in the desktop runtime; r=marco 2014-07-19 13:42:10 -07:00
widget Backed out changeset ea2341b06e6f (bug 994541) for reftest timeouts 2014-07-21 17:26:40 +01:00
xpcom Bug 1035396 - Make Linux USS reporting 2x faster. r=nbp,njn 2014-07-21 18:23:49 -07:00
xpfe Bug 1033295 - Crash in nsWindowDataSource::GetWindowForResource. r=bsmedberg 2014-07-15 12:03:21 -05:00
xulrunner Bug 728600 - define TARGET_XPCOM_ABI in mozilla-config.h; r=glandium 2014-06-23 15:06:48 -04:00
.clang-format Bug 965120 - Use .clang-format to set tree default format; r=gps 2014-01-30 14:27:44 +13:00
.clang-format-ignore Bug 967361 - Fix .clang-format-ignore on Windows. r=gps 2014-02-04 17:25:04 +13:00
.gdbinit
.gitignore Bug 1007486 - Ignore tag files generated by GNU Global. r=ted 2014-05-07 20:32:00 -04:00
.hgignore Bug 1031025 - Add generated/downloaded Loop unit test files r=jorendorff 2014-06-27 15:25:03 -05:00
.hgtags No bug - Tagging mozilla-central dc23164ba2a2 with FIREFOX_AURORA_33_BASE a=release DONTBUILD CLOSED TREE 2014-07-21 14:15:06 -07:00
.lldbinit Bug 960300 - Put a .lldbinit in the objdir and in dist/bin/, which load the .lldbinit in topsrcdir. r=glandium 2014-01-21 14:47:05 +11:00
.reviewboardrc Bug 943747 - Add a .reviewboardrc file; r=mconley 2013-11-27 14:13:18 +08:00
AUTHORS
Android.mk
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-07-21 14:19:15 -07:00
LEGAL
LICENSE
Makefile.in Bug 978211 - various asan/mar/pretty/mach fixes; r=glandium 2014-07-03 22:14:59 -04:00
README.txt No bug: the OVERRIDE HOOK is stupid. 2014-01-21 08:23:43 -08:00
aclocal.m4 Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium 2014-02-25 14:15:16 -08:00
client.mk Bug 1033958 - Avoid running configure on every build when mozconfig changes $PATH. r=gps 2014-07-04 08:07:24 +09:00
client.py Bug 988724: Remove webidl updating bits from client.py that are long dead. r=glandium 2014-04-01 11:33:27 +08:00
configure.in Merge m-c to inbound. a=merge 2014-07-18 10:25:14 -04:00
mach Bug 914563 - re-enable build resource recording on Windows; r=gps 2014-07-15 13:59:10 -04:00
moz.build Bug 1039197 - Always build js engine with zlib. r=luke 2014-07-17 08:42:17 +09:00
mozilla-config.h.in Bug 976898 - Move the sdkdecls.h force-include out of the build system; r=bbondy,glandium 2014-02-28 08:17:22 -05:00

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/