Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Issue 1156873002: Load v8 snapshots directly from APK (and store them uncompressed) (Closed)

Created:
5 years, 7 months ago by agrieve
Modified:
5 years, 6 months ago
CC:
android-webview-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@v8initializer
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Load V8 startup data directly from the APK on Android. Startup data files are now stored uncompressed within the .apk, increasing size of the apk, but decreasing total disk requirements (since they don't need to be extracted). BUG=394502 Committed: https://crrev.com/6f3002d9e87d690bb368931faa2c3ba4638f811e Cr-Commit-Position: refs/heads/master@{#335271}

Patch Set 1 #

Patch Set 2 : Remove debug logging #

Total comments: 5

Patch Set 3 : fix webview, content shell, chromecast #

Total comments: 2

Patch Set 4 : Pass FDs & Regions through to child process (Still has formatting errors) #

Total comments: 2

Patch Set 5 : remove debug logs & fix formatting issues #

Patch Set 6 : Added GN support #

Patch Set 7 : added change for ComponentsBrowserTestsApplication.java #

Patch Set 8 : Rebased ontop of icudtl change #

Patch Set 9 : Rebased for recent conflicting changes #

Patch Set 10 : Made diff smaller #

Patch Set 11 : Keep extracting for components/ #

Total comments: 12

Patch Set 12 : merged commit for trybot #

Patch Set 13 : rebase for review #

Total comments: 5

Patch Set 14 : Address review comments v8 #

Patch Set 15 : Add TODO for setAdd TODO for setMandatoryPaksToExtract #

Patch Set 16 : rebase #

Patch Set 17 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -58 lines) Patch
M android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +1 line, -2 lines 0 comments Download
M base/android/java/src/org/chromium/base/ResourceExtractor.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +1 line, -2 lines 0 comments Download
M build/config/android/rules.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 4 5 6 7 8 12 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/android/java_staging/src/org/chromium/chrome/browser/ChromeMobileApplication.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellApplication.java View 1 2 3 4 5 6 7 12 1 chunk +0 lines, -12 lines 0 comments Download
M chromecast/browser/android/apk/src/org/chromium/chromecast/shell/CastApplication.java View 1 2 3 4 5 6 7 12 1 chunk +0 lines, -2 lines 0 comments Download
M content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsApplication.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -2 lines 0 comments Download
M content/shell/android/linker_test_apk/src/org/chromium/chromium_linker_test_apk/ChromiumLinkerTestApplication.java View 1 2 3 4 5 6 7 12 1 chunk +0 lines, -7 lines 0 comments Download
M content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellApplication.java View 1 2 3 4 5 6 7 12 1 chunk +0 lines, -7 lines 0 comments Download
M gin/v8_initializer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +22 lines, -18 lines 0 comments Download

Messages

Total messages: 41 (7 generated)
agrieve
5 years, 7 months ago (2015-05-25 15:42:58 UTC) #2
Yaron
https://codereview.chromium.org/1156873002/diff/20001/chrome/android/chrome_apk.gypi File chrome/android/chrome_apk.gypi (right): https://codereview.chromium.org/1156873002/diff/20001/chrome/android/chrome_apk.gypi#newcode47 chrome/android/chrome_apk.gypi:47: 'extensions_to_not_compress': 'bin', Is there any gn support for this? ...
5 years, 7 months ago (2015-05-25 18:56:44 UTC) #3
jochen (gone - plz use gerrit)
5 years, 7 months ago (2015-05-26 07:26:42 UTC) #5
rmcilroy
+erikcorry Erik is working on having Chrome generate V8's snapshot on-demand during first run on ...
5 years, 7 months ago (2015-05-26 09:15:15 UTC) #6
agrieve
On 2015/05/26 09:15:15, rmcilroy wrote: > +erikcorry > > Erik is working on having Chrome ...
5 years, 7 months ago (2015-05-26 14:04:59 UTC) #7
agrieve
On 2015/05/26 14:04:59, agrieve wrote: > On 2015/05/26 09:15:15, rmcilroy wrote: > > +erikcorry > ...
5 years, 7 months ago (2015-05-27 19:14:01 UTC) #8
Yaron
high-level seems fine although lots going on - maybe worth breaking up. Thinking more about ...
5 years, 7 months ago (2015-05-27 20:59:43 UTC) #9
Yaron
Ross: looks like you were involved with that bug, do you know whether this could ...
5 years, 7 months ago (2015-05-27 21:54:23 UTC) #10
Torne
On 2015/05/27 21:54:23, Yaron wrote: > Ross: looks like you were involved with that bug, ...
5 years, 7 months ago (2015-05-28 09:54:47 UTC) #11
rmcilroy
On 2015/05/28 09:54:47, Torne wrote: > On 2015/05/27 21:54:23, Yaron wrote: > > Ross: looks ...
5 years, 7 months ago (2015-05-28 11:47:12 UTC) #12
rmcilroy
However, this change seems to be doing way more than the previous one, and from ...
5 years, 6 months ago (2015-05-28 12:03:29 UTC) #13
agrieve
On 2015/05/28 12:03:29, rmcilroy wrote: > However, this change seems to be doing way more ...
5 years, 6 months ago (2015-05-28 18:42:55 UTC) #15
jochen (gone - plz use gerrit)
I'm waiting for Ross to review this, happy to rubberstamp after he's done
5 years, 6 months ago (2015-06-05 12:07:47 UTC) #16
rmcilroy
On 2015/06/05 12:07:47, jochen wrote: > I'm waiting for Ross to review this, happy to ...
5 years, 6 months ago (2015-06-05 15:16:41 UTC) #17
Erik Corry Chromium.org
Looks like my change, mentioned by Ross in the previous message, stuck.
5 years, 6 months ago (2015-06-08 13:27:51 UTC) #18
agrieve
On 2015/06/08 13:27:51, Erik Corry Chromium.org wrote: > Looks like my change, mentioned by Ross ...
5 years, 6 months ago (2015-06-08 14:42:35 UTC) #19
agrieve
On 2015/06/08 14:42:35, agrieve wrote: > On 2015/06/08 13:27:51, Erik Corry http://Chromium.org wrote: > > ...
5 years, 6 months ago (2015-06-08 20:35:41 UTC) #20
rmcilroy
Looks good overall. A couple of comments but mostly nits. Also, could you update the ...
5 years, 6 months ago (2015-06-09 11:52:55 UTC) #21
agrieve
On 2015/06/09 11:52:55, rmcilroy wrote: > Looks good overall. A couple of comments but mostly ...
5 years, 6 months ago (2015-06-11 15:07:53 UTC) #22
rmcilroy
On 2015/06/11 15:07:53, agrieve wrote: > On 2015/06/09 11:52:55, rmcilroy wrote: > > Looks good ...
5 years, 6 months ago (2015-06-11 17:32:15 UTC) #23
agrieve
On 2015/06/11 17:32:15, rmcilroy wrote: > On 2015/06/11 15:07:53, agrieve wrote: > > On 2015/06/09 ...
5 years, 6 months ago (2015-06-13 02:20:41 UTC) #24
agrieve
gunsch@chromium.org: Please review changes in android_webview torne@chromium.org: Please review changes in chromecast https://codereview.chromium.org/1156873002/diff/60001/gin/v8_initializer.cc File gin/v8_initializer.cc ...
5 years, 6 months ago (2015-06-13 02:21:29 UTC) #26
gunsch-google
rs lgtm for chromecast/
5 years, 6 months ago (2015-06-13 18:13:09 UTC) #28
gunsch
oops, wrong account. rs lgtm for chromecast/
5 years, 6 months ago (2015-06-13 18:13:23 UTC) #29
rmcilroy
Generally looks good. A couple of comments. https://codereview.chromium.org/1156873002/diff/240001/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java File android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java (right): https://codereview.chromium.org/1156873002/diff/240001/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java#newcode49 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java:49: ResourceExtractor.setMandatoryPaksToExtract(""); Same ...
5 years, 6 months ago (2015-06-15 10:21:02 UTC) #30
agrieve
https://codereview.chromium.org/1156873002/diff/240001/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java File android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java (right): https://codereview.chromium.org/1156873002/diff/240001/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java#newcode49 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java:49: ResourceExtractor.setMandatoryPaksToExtract(""); On 2015/06/15 10:21:02, rmcilroy wrote: > Same question ...
5 years, 6 months ago (2015-06-15 14:22:04 UTC) #31
rmcilroy
lgtm, thanks. https://codereview.chromium.org/1156873002/diff/240001/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java File android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java (right): https://codereview.chromium.org/1156873002/diff/240001/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java#newcode49 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java:49: ResourceExtractor.setMandatoryPaksToExtract(""); On 2015/06/15 14:22:04, agrieve wrote: > ...
5 years, 6 months ago (2015-06-15 17:39:42 UTC) #32
agrieve
On 2015/06/15 17:39:42, rmcilroy wrote: > lgtm, thanks. > > https://codereview.chromium.org/1156873002/diff/240001/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java > File > android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellApplication.java ...
5 years, 6 months ago (2015-06-15 19:30:41 UTC) #33
Yaron
lgtm
5 years, 6 months ago (2015-06-16 03:22:29 UTC) #34
jochen (gone - plz use gerrit)
lgtm
5 years, 6 months ago (2015-06-16 13:30:55 UTC) #35
Torne
android_webview LGTM
5 years, 6 months ago (2015-06-18 10:20:53 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156873002/320001
5 years, 6 months ago (2015-06-19 15:40:34 UTC) #39
commit-bot: I haz the power
Committed patchset #17 (id:320001)
5 years, 6 months ago (2015-06-19 16:49:16 UTC) #40
commit-bot: I haz the power
5 years, 6 months ago (2015-06-19 16:50:20 UTC) #41
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/6f3002d9e87d690bb368931faa2c3ba4638f811e
Cr-Commit-Position: refs/heads/master@{#335271}

Powered by Google App Engine
This is Rietveld 408576698