gecko-dev/mobile/android
Grigory Kruglov 3d46434d5e Bug 1408710 - Serialize RecordsChannel r=rnewman
This patch does two things:
- serializes flow of records through the RecordsChannel
- simplifies the batching logic

The two are connected: rather than queuing records in ConcurrentLinkedQueue, we now buffer
downloaded records in an ArrayList, and deliver them to the receiving repository all at once.

Doing this work right at the channel level lets us kill off the buffering middleware.

An addition of a NonBufferingSyncStage lets individual SyncStages use a RecordsChannel which
doesn't perform any kind of buffering. Prior, stages did this by wrapping their receiving repositories
in the buffering middleware.

The main goal is to speed up the flow of records, keep within the same memory footprint
and do some simplification in the process.
This patch explicitly does not address the delegated nature of fetch and store, which is now largely irrelevant.

MozReview-Commit-ID: J2afmgr1Td1

--HG--
extra : rebase_source : 62f5f7940bb8db9a18704edfd0b9cb38eb410b71
2018-02-26 15:12:34 -05:00
..
app Bug 1363924 p2 - Move deviceID and uid to payload level in sync ping. r=Grisha 2018-02-20 15:01:24 +08:00
base Bug 1408710 - Serialize RecordsChannel r=rnewman 2018-02-26 15:12:34 -05:00
branding Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans 2018-01-27 15:57:42 +08:00
chrome Bug 1439747 - Add GeckoSession.ContentListener.onCloseRequest() r=jchen,droeh 2018-02-22 09:18:33 -06:00
components Bug 1422019 - Make resource://android/asset work again with GeckoView r=jchen 2018-02-22 09:18:33 -06:00
config Bug 1440428 - Remove Proguard JAR entirely. r=jchen 2018-02-26 11:37:41 -08:00
docs Bug 1411654 - Part 0: Add rudimentary documentation about Gradle integration. r=maliu 2017-11-15 15:02:18 -08:00
fonts
geckoview Bug 1440111 - 4. Add ProgressListenerTest; r=snorp 2018-02-26 14:52:00 -05:00
geckoview_example Bug 1439747 - Add GeckoSession.ContentListener.onCloseRequest() r=jchen,droeh 2018-02-22 09:18:33 -06:00
gradle Bug 1422019 - Fix diagnostic requiring |mach package|. r=snorp 2018-02-22 09:18:34 -06:00
installer Bug 1291387 - Make mochitest and reftest work against TestRunnerActivity r=gbrown,jchen 2018-02-22 09:18:37 -06:00
locales Bug 1431260 - Switch multilocale.json to multilocale.txt in the build system. r=gps 2018-02-13 23:42:14 -08:00
modules Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian 2018-02-22 16:55:36 +00:00
services Bug 1408710 - Serialize RecordsChannel r=rnewman 2018-02-26 15:12:34 -05:00
stumbler Bug 1440743 - Part 1: Remove moz.build/Makefile.in for Android stumbler. r=jchen 2018-02-22 13:40:16 -08:00
tests Bug 1440433 - Part 1: Remove mobile/android/tests/browser/robocop/Makefile.in. r=jchen 2018-02-22 13:31:07 -08:00
themes Backed out changeset 8cf686bb2f72 (bug 1435988) for failing revtest in moz-range-progress-1.html 2018-02-23 19:41:28 +02:00
thirdparty Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu 2017-10-26 11:00:36 -07:00
.eslintrc.js Bug 1439838 - Enable ESLint rule no-unused-vars for the same directories in mobile/android as no-undef. r=JanH 2018-02-21 09:22:03 +00:00
app.mozbuild Bug 1374574 - Remove the FlyWeb system add-on from Fennec. r=ahunt,sebastian 2017-11-22 14:49:35 +01:00
build.mk Bug 1413240 - Build webext langpack for mobile/android. r=gandalf 2017-12-15 12:19:15 -08:00
confvars.sh Bug 1422734 - move --enable-small-chunk-size to moz.configure; r=chmanchester 2017-12-03 13:44:55 -05:00
debug_sign_tool.py
gradle.configure Bug 1440743 - Part 2: Remove most of MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE. r=jchen 2018-02-22 11:45:51 -08:00
LICENSE
mach_commands.py Bug 1433322 - 3. Run GeckoView unit tests with 'mach android test'; r=nalexander 2018-02-08 13:36:22 -05:00
moz.build Bug 1440743 - Part 1: Remove moz.build/Makefile.in for Android stumbler. r=jchen 2018-02-22 13:40:16 -08:00
moz.configure Backed out 7 changesets (bug 1419581) as requested by nalexander a=backout 2018-01-24 22:28:19 +02:00