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
Перейти к файлу
Mike Hommey 87faa92489 Bug 1414168 - Change and move the relaxed calculation rule for small size classes. r=njn
First and foremost, the code and corresponding comment weren't in
agreement on what's going on.

The code checks:
  RUN_MAX_OVRHD * (bin->mSizeClass << 3) <= RUN_MAX_OVRHD_RELAX
which is equivalent to:
  (bin->mSizeClass << 3) <= RUN_MAX_OVRHD_RELAX / RUN_MAX_OVRHD
replacing constants:
  (bin->mSizeClass << 3) <= 0x1800 / 0x3d

The left hand side is just bin->mSizeClass * 8, and the right hand side
is about 100, so this can be roughly summarized as:
  bin->mSizeClass <= 12

The comment says the overhead constraint is relaxed for runs with a
per-region overhead greater than RUN_MAX_OVRHD / (mSizeClass << (3+RUN_BFP)).
Which, on itself, doesn't make sense, because it translates to
61 / (mSizeClass * 32768), which, even for a size class of 1 would mean
less than 0.2%, and this value would be even smaller for bigger classes.
The comment would make more sense with RUN_MAX_OVRHD_RELAX, but would
still not match what the code was doing.

So we change how the relaxed rule works, as per the comment in the new
code, and make it happen after the standard run overhead constraint has
been checked.

--HG--
extra : rebase_source : cec35b5bfec416761fbfbcffdc2b39f0098af849
2017-11-07 14:36:07 +09:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Bug 1415115 - forcing test window focus on dialog close. r=surkov 2017-11-07 23:15:06 -05:00
browser Bug 1415707 - Remove about:accounts redirector. r=markh 2017-11-08 18:23:55 -05:00
build Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
caps Bug 1412345: Downgrade expanded principals before inheriting. r=bz,krizsa 2017-11-02 19:56:27 -07:00
chrome Bug 1410736 - Replace remaining uses of general.useragent.locale with LocaleService API. r=jfkthame 2017-11-03 17:08:34 -07:00
config Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
db Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium 2017-10-25 15:12:09 -07:00
devtools Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
docshell Bug 1412824: Refactor MaybeCloseWindow and allow to reuse the window close code from within nsExternalHelperAppService as well as nsDSURIContentListener. r=smaug 2017-11-03 13:23:25 +01:00
dom Bug 1413480 - Check mCDM in ChromiumCDMChild::RecvXXX before dereferencing it. r=cpearce,kikuo 2017-11-08 15:44:34 +08:00
editor Bug 1415062 - part 2: Editor should use Selection::Collapse(const RawRangeBoundary&) as far as possible r=m_kato 2017-11-07 19:50:25 +09:00
embedding
extensions Bug 1403009 - Intermittent failure in browser_test_favicon.js. r=kershaw 2017-11-06 21:35:49 +01:00
gfx Bug 1415225 - Add a couple of mochitests for event-regions overrides. r=botond 2017-11-08 20:47:19 -05:00
gradle/wrapper Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu 2017-10-16 15:09:15 -07:00
hal Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
image Bug 1415085 - Make CachedSurface::GetSurfaceKey return a reference instead of a copy. r=decoder 2017-11-07 08:10:01 -05:00
intl Bug 1414872 - Fix always adding source locale to requested locales fallback chain. r=jfkthame 2017-11-06 09:01:35 -08:00
ipc Bug 1414631 - Remove the Chromium Process class r=jld 2017-11-07 14:57:23 +01:00
js Bug 1104647 - IonMonkey: Implement MathFunction(Floor) recover instruction r=nbp 2017-11-08 15:42:57 +00:00
layout Bug 1415225 - Small early-exit optimization. r=botond 2017-11-08 20:47:19 -05:00
media Bug 1415446 - Update to libogg 1.3.3. r=kinetik 2017-11-08 08:49:05 -08:00
memory Bug 1414168 - Change and move the relaxed calculation rule for small size classes. r=njn 2017-11-07 14:36:07 +09:00
mfbt Bug 1412825 - fix lz4 deprecated attribute with clang and c++14; r=RyanVM 2017-10-30 10:12:38 -04:00
mobile merge mozilla-central to autoland. r=merge a=merge 2017-11-09 00:52:17 +01:00
modules merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
mozglue Bug 1411712 - Move symbol version script flags for arm in mozglue to moz.build. r=mshal 2017-11-02 11:47:48 -07:00
netwerk merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
nsprpub Bug 1393854, land NSPR_4_18_RTM, no code change, only version numbers, r=me 2017-09-19 18:43:02 +02:00
other-licenses Bug 1413568 - Update installer icons. r=mconley 2017-11-02 08:34:22 -07:00
parser Bug 1385288 - Disable parser/htmlparser/tests/reftest/bug582940-1.html on osx for frequent failures. r=me, a=testonly 2017-11-02 13:15:06 -04:00
python merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
rdf Bug 1409329 - NS_NewBufferedOutputStream should take the ownership of the outputStream, r=smaug 2017-10-24 14:38:23 +02:00
security merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
services Bug 1414438 - Use `getBatched` instead of `get` to backfill records r=kitcambridge 2017-11-08 09:05:11 +01:00
servo servo: Merge #19139 - style: Get rid of parse_specified (from emilio:bye-parse-specified); r=jdm 2017-11-07 23:44:17 -06:00
startupcache Bug 1408017 - Clear gStartupCacheWrapper in the dtor. r=froydnj 2017-10-26 16:47:27 -04:00
storage Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop 2017-10-26 11:47:01 +01:00
taskcluster Bug 1414919 - [taskgraph] Create a 'rebuild' morph template, r=dustin 2017-11-07 10:22:35 -05:00
testing merge mozilla-central to autoland. r=merge a=merge 2017-11-09 00:52:17 +01:00
third_party Bug 1411250 - Revendor deps; r=xidorn 2017-11-06 15:04:28 -08:00
toolkit merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
tools merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
uriloader merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-04 10:58:24 +01:00
view Bug 1397644 part 2 - Remove test annotations for this bug. r=emilio 2017-10-20 21:31:13 +11:00
widget merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
xpcom Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
xpfe Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj 2017-10-21 23:53:02 +09:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout 2017-10-31 16:20:11 +01:00
.clang-tidy
.cron.yml No Bug - Move periodic file update start time earlier, to reflect when buildbot used to run. r=me 2017-10-20 11:17:50 -04:00
.eslintignore Bug 1403956 - Enable ESLint from chrome/ directory. r=standard8 2017-10-26 16:56:18 -04:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1412930 - Package localized prerendered files. r=k88hudson 2017-10-30 13:13:35 -07:00
.hgignore Bug 1410341 - add toolchains.json to .hgignore;r=jmaher 2017-10-20 10:53:20 +02:00
.hgtags No bug - Tagging mozilla-central 40a14ca1cf04499f398e4cb8ba359b39eae4e216 with FIREFOX_BETA_58_BASE a=release DONTBUILD CLOSED TREE 2017-11-02 16:47:50 +00:00
.inferconfig
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml Bug 1409577 - Add static indexes to decision task r=dustin 2017-10-18 11:55:01 -04:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
CLOBBER Backed out changeset def95432b0a1 (bug 1413550) on request from Mardak for test failure. r=backout on a CLOSED TREE 2017-11-04 01:34:19 +01:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1412932 - Inline pgo-profile-run target; r=ted 2017-11-07 15:06:45 -08:00
README.txt
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland 2017-11-06 15:23:47 +02:00
client.mk Bug 1415335 - Move Windows line endings detection to configure; r=nalexander 2017-11-07 17:16:39 -08:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
gradle.properties Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu 2017-07-18 17:59:57 -07:00
gradlew
mach
moz.build Bug 1413538 - remove unused FILES_PER_UNIFIED_FILE from root moz.build; r=chmanchester 2017-11-01 13:50:00 -04:00
moz.configure Bug 1415686 - Ensure both configure and old-configure agree on what MOZ_DEBUG means. r=chmanchester 2017-11-09 07:41:21 +09:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1405237 - Revert unexpected npm-shrinkwrap.json changes in bug 1349689 r=Gijs 2017-10-03 17:04:14 +08:00
old-configure.in merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
package.json Bug 1410782 - Fix props.connector is undefined when running launchpad r=Honza 2017-10-23 15:39:47 +08:00
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

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:

    https://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:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://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 https://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:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/