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

Issue 1011133006: Move V8 snapshot loading code from isolate_holder to gin/v8_startup_data.{h,cc}. (Closed)

Created:
5 years, 9 months ago by oth
Modified:
5 years, 8 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move V8 snapshot loading code from isolate_holder to gin/v8_startup_data.{h,cc}. isolate_holder.h is public and used by blink and therefore cannot refer to types from base. As part of porting this to other platforms we needed to load snapshots from BaseFile descriptors. BUG=421063 Committed: https://crrev.com/05c26fde422600a25247a22f9670463216d0519a Cr-Commit-Position: refs/heads/master@{#323886}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Move V8 initialization from IsolateHolder::Initialize into V8Initializer::Initialize. #

Patch Set 3 : Progress bot failures #

Patch Set 4 : Including missed changes required for tests. #

Patch Set 5 : Attempt to fix DEPS for linux and android #

Patch Set 6 : Fix DEPS for Android #

Total comments: 15

Patch Set 7 : Incorporate review comments. #

Total comments: 5

Patch Set 8 : Incorporate review comments from patch set 7. #

Total comments: 2

Patch Set 9 : DEPS tweak suggested by jochen. #

Total comments: 3

Patch Set 10 : Fix ifdef scope for chromeos and rebase. #

Patch Set 11 : Fix missing #ifdef in V8Initializer::Initialize. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -411 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/plugin/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/plugin/chrome_content_plugin_client.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/pdf/renderer/ppb_pdf_impl.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M content/app/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/app/content_main_runner.cc View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M content/public/test/DEPS View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/content_test_suite_base.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -4 lines 0 comments Download
M content/test/DEPS View 1 2 5 1 chunk +1 line, -1 line 0 comments Download
M content/test/content_test_launcher.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M gin/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gin/gin.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M gin/isolate_holder.cc View 1 2 3 4 5 6 7 8 9 4 chunks +15 lines, -218 lines 0 comments Download
M gin/public/isolate_holder.h View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -17 lines 0 comments Download
M gin/shell/gin_main.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M gin/shell_runner_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M gin/test/file_runner.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -5 lines 0 comments Download
M gin/test/v8_test.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -5 lines 0 comments Download
A gin/v8_initializer.h View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
A + gin/v8_initializer.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +55 lines, -134 lines 0 comments Download
M net/proxy/proxy_resolver_v8.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/pdf_resource.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 66 (14 generated)
oth
Please take a look over this, first CL, thanks!
5 years, 9 months ago (2015-03-26 09:57:23 UTC) #2
rmcilroy
https://codereview.chromium.org/1011133006/diff/1/gin/isolate_holder.cc File gin/isolate_holder.cc (right): https://codereview.chromium.org/1011133006/diff/1/gin/isolate_holder.cc#newcode15 gin/isolate_holder.cc:15: #include "crypto/sha2.h" I think you can drop crypto/sha2.h now ...
5 years, 9 months ago (2015-03-26 10:50:09 UTC) #3
oth
This change incorporates comments in the last round. There is a failure in the Mac ...
5 years, 8 months ago (2015-03-30 09:42:00 UTC) #4
rmcilroy
This is looking good! Please update the description and mention this is part-one of a ...
5 years, 8 months ago (2015-03-30 10:29:22 UTC) #5
oth
Comments for review comments from patch set 6 incorporated into patch set 7. https://codereview.chromium.org/1011133006/diff/100001/gin/isolate_holder.cc File ...
5 years, 8 months ago (2015-03-30 15:55:19 UTC) #6
rmcilroy
Looks great, just a couple of gin::V8Initializer::Initialize() calls to be turned back to gin::IsolateHolder::Initialize(). Jochen: ...
5 years, 8 months ago (2015-03-30 17:44:18 UTC) #8
oth
Thanks! https://codereview.chromium.org/1011133006/diff/120001/gin/isolate_holder.cc File gin/isolate_holder.cc (right): https://codereview.chromium.org/1011133006/diff/120001/gin/isolate_holder.cc#newcode72 gin/isolate_holder.cc:72: g_array_buffer_allocator = allocator; On 2015/03/30 17:44:18, rmcilroy wrote: ...
5 years, 8 months ago (2015-03-31 09:34:47 UTC) #9
jochen (gone - plz use gerrit)
i'm happy https://codereview.chromium.org/1011133006/diff/140001/chrome/browser/DEPS File chrome/browser/DEPS (right): https://codereview.chromium.org/1011133006/diff/140001/chrome/browser/DEPS#newcode109 chrome/browser/DEPS:109: "+gin/v8_initializer.h", we could just add "+gin",
5 years, 8 months ago (2015-03-31 10:35:38 UTC) #10
oth
eroman@chromium.org: Please review changes in net raymes@chromium.org: Please review changes in ppapi https://codereview.chromium.org/1011133006/diff/140001/chrome/browser/DEPS File chrome/browser/DEPS ...
5 years, 8 months ago (2015-03-31 16:39:24 UTC) #12
rmcilroy
lgtm, thanks! https://codereview.chromium.org/1011133006/diff/160001/chrome/plugin/DEPS File chrome/plugin/DEPS (right): https://codereview.chromium.org/1011133006/diff/160001/chrome/plugin/DEPS#newcode4 chrome/plugin/DEPS:4: "+gin/v8_initializer.h", maybe just +gin here too https://codereview.chromium.org/1011133006/diff/160001/content/app/DEPS ...
5 years, 8 months ago (2015-03-31 16:59:03 UTC) #13
eroman
net/* LGTM
5 years, 8 months ago (2015-03-31 18:19:52 UTC) #14
raymes
rubberstamp lgtm ppapi/
5 years, 8 months ago (2015-03-31 22:51:23 UTC) #15
oth
On 2015/03/31 10:35:38, jochen wrote: > i'm happy > > https://codereview.chromium.org/1011133006/diff/140001/chrome/browser/DEPS > File chrome/browser/DEPS (right): ...
5 years, 8 months ago (2015-04-01 13:19:46 UTC) #16
jochen (gone - plz use gerrit)
lgtm
5 years, 8 months ago (2015-04-01 14:51:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/160001
5 years, 8 months ago (2015-04-01 15:37:30 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/23317)
5 years, 8 months ago (2015-04-01 15:54:03 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 11:10:54 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 11:15:28 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 11:30:39 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 11:45:44 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 12:00:30 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 12:15:35 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 12:30:21 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 12:45:51 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 13:00:32 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 13:15:32 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 13:30:41 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 13:45:50 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 14:01:17 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 14:15:48 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 14:30:45 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 14:45:35 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 15:00:38 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 15:15:30 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 15:30:36 UTC) #42
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 15:46:31 UTC) #43
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 16:01:41 UTC) #44
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 16:17:10 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 16:30:39 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/180001
5 years, 8 months ago (2015-04-02 17:04:07 UTC) #49
rmistry
On 2015/04/02 17:04:07, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 8 months ago (2015-04-02 17:06:04 UTC) #50
rmistry
+phajdan +sergiyb I do not understand why this CL is still going. The CQ should ...
5 years, 8 months ago (2015-04-02 19:05:05 UTC) #51
Sergiy Byelozyorov
On 2015/04/02 19:05:05, rmistry wrote: > +phajdan +sergiyb > > I do not understand why ...
5 years, 8 months ago (2015-04-02 19:09:43 UTC) #52
rmistry
On 2015/04/02 19:09:43, Sergiy Byelozyorov wrote: > On 2015/04/02 19:05:05, rmistry wrote: > > +phajdan ...
5 years, 8 months ago (2015-04-02 19:11:02 UTC) #53
rmistry
On 2015/04/02 19:11:02, rmistry wrote: > On 2015/04/02 19:09:43, Sergiy Byelozyorov wrote: > > On ...
5 years, 8 months ago (2015-04-02 20:25:15 UTC) #54
chromium-reviews
The commit checkbox was not set here - I'm a Noogler and wanted to test ...
5 years, 8 months ago (2015-04-02 21:14:32 UTC) #56
rmistry
On 2015/04/02 21:14:32, chromium-reviews wrote: > The commit checkbox was not set here - I'm ...
5 years, 8 months ago (2015-04-03 11:04:44 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/200001
5 years, 8 months ago (2015-04-05 12:01:34 UTC) #60
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-05 12:58:25 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1011133006/200001
5 years, 8 months ago (2015-04-05 14:30:08 UTC) #64
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 8 months ago (2015-04-05 14:31:11 UTC) #65
commit-bot: I haz the power
5 years, 8 months ago (2015-04-05 14:32:00 UTC) #66
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/05c26fde422600a25247a22f9670463216d0519a
Cr-Commit-Position: refs/heads/master@{#323886}

Powered by Google App Engine
This is Rietveld 408576698