|
|
DescriptionMove gin and v8 portion of profiling to child from common
This breaks up profiling.cc into separate common and child-only
parts to remove the dependency of the browser DLL on Windows on v8.
R=thakis@chromium.org
TBR=jochen@chromium.org
BUG=581766
Review-Url: https://codereview.chromium.org/2627753004
Cr-Commit-Position: refs/heads/master@{#444443}
Committed: https://chromium.googlesource.com/chromium/src/+/608e24db64fd84c9ebaff87bf07d50c3d34059d7
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : . #Patch Set 6 : revert gin removal for now #
Total comments: 3
Messages
Total messages: 45 (32 generated)
The CQ bit was checked by scottmg@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by scottmg@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
Description was changed from ========== Move gin/v8 portion of profiling to child from common Part of removing dependency of Windows browser DLL on v8. BUG=581766 ========== to ========== Move gin/v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. BUG=581766 ==========
The CQ bit was checked by scottmg@chromium.org to run a CQ dry run
Description was changed from ========== Move gin/v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. BUG=581766 ========== to ========== Move gin/v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. BUG=581766 ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Move gin/v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. BUG=581766 ========== to ========== Move gin/v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. R=thakis@chromium.org BUG=581766 ==========
scottmg@chromium.org changed reviewers: + thakis@chromium.org
Description was changed from ========== Move gin/v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. R=thakis@chromium.org BUG=581766 ========== to ========== Move gin and v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. R=thakis@chromium.org BUG=581766 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_a...) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by scottmg@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by scottmg@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://build.chromium.org/p/tryserver.chromium.android/builders/android_clan... looks like it might be real. Is this the last bit of what keeps v8 alive? Why are there two calls to Init in chrome_main_delegate.cc now?
On 2017/01/13 20:48:29, Nico wrote: > https://build.chromium.org/p/tryserver.chromium.android/builders/android_clan... > looks like it might be real. > > Is this the last bit of what keeps v8 alive? (in the dead-code-stripping sense)
On 2017/01/13 20:48:29, Nico wrote: > https://build.chromium.org/p/tryserver.chromium.android/builders/android_clan... > looks like it might be real. Hrm, that feature (link error) is defined in gin, so that dependency removal was too aggressive. Undid that. > > Is this the last bit of what keeps v8 alive? Not yet, there's some more paths to v8. > > Why are there two calls to Init in chrome_main_delegate.cc now? Do you mean the ProcessStarted() calls? I was just mechanically breaking up Profiling, so I put the ChildProfiling::ProcessStarted calls before the Profiling::ProcessStarted calls to attempt to not change behaviour.
The CQ bit was checked by scottmg@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2627753004/diff/100001/chrome/app/chrome_main... File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/2627753004/diff/100001/chrome/app/chrome_main... chrome/app/chrome_main_delegate.cc:532: #if !defined(CHROME_MULTIPLE_DLL_BROWSER) if this is mechanical, why does this have the !defined but the other place below doesn't? (feels like a stupid question, sorry)
https://codereview.chromium.org/2627753004/diff/100001/chrome/app/chrome_main... File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/2627753004/diff/100001/chrome/app/chrome_main... chrome/app/chrome_main_delegate.cc:532: #if !defined(CHROME_MULTIPLE_DLL_BROWSER) On 2017/01/13 21:01:19, Nico wrote: > if this is mechanical, why does this have the !defined but the other place below > doesn't? (feels like a stupid question, sorry) You're right, not entirely mechanical I guess. This one runs on all platforms(-ish). This code is built twice on Windows, once for child and once for browser, so the define breaks the dependency on the child-only code when it's built for the browser. The Zygote one below is in #if POSIX. Strictly speaking I guess it could have !CHROME_MULTIPLE_DLL_BROWSER too, but it would be more confusing than anything because that define only really makes sense on Windows.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm, thanks for explaining https://codereview.chromium.org/2627753004/diff/100001/chrome/app/chrome_main... File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/2627753004/diff/100001/chrome/app/chrome_main... chrome/app/chrome_main_delegate.cc:532: #if !defined(CHROME_MULTIPLE_DLL_BROWSER) On 2017/01/13 21:55:08, scottmg wrote: > On 2017/01/13 21:01:19, Nico wrote: > > if this is mechanical, why does this have the !defined but the other place > below > > doesn't? (feels like a stupid question, sorry) > > You're right, not entirely mechanical I guess. This one runs on all > platforms(-ish). This code is built twice on Windows, once for child and once > for browser, so the define breaks the dependency on the child-only code when > it's built for the browser. > > The Zygote one below is in #if POSIX. Strictly speaking I guess it could have > !CHROME_MULTIPLE_DLL_BROWSER too, but it would be more confusing than anything > because that define only really makes sense on Windows. Maybe add a comment explaining why this is ifdef'd and the other isn't (but up to you; if you think it's more confusing with a comment, omit it)
On 2017/01/17 13:10:43, Nico wrote: > lgtm, thanks for explaining > > https://codereview.chromium.org/2627753004/diff/100001/chrome/app/chrome_main... > File chrome/app/chrome_main_delegate.cc (right): > > https://codereview.chromium.org/2627753004/diff/100001/chrome/app/chrome_main... > chrome/app/chrome_main_delegate.cc:532: #if > !defined(CHROME_MULTIPLE_DLL_BROWSER) > On 2017/01/13 21:55:08, scottmg wrote: > > On 2017/01/13 21:01:19, Nico wrote: > > > if this is mechanical, why does this have the !defined but the other place > > below > > > doesn't? (feels like a stupid question, sorry) > > > > You're right, not entirely mechanical I guess. This one runs on all > > platforms(-ish). This code is built twice on Windows, once for child and once > > for browser, so the define breaks the dependency on the child-only code when > > it's built for the browser. > > > > The Zygote one below is in #if POSIX. Strictly speaking I guess it could have > > !CHROME_MULTIPLE_DLL_BROWSER too, but it would be more confusing than anything > > because that define only really makes sense on Windows. > > Maybe add a comment explaining why this is ifdef'd and the other isn't (but up > to you; if you think it's more confusing with a comment, omit it) I think I'll leave it, I think it'd be equally confusing to have the zygote code talking about Windows.
The CQ bit was checked by scottmg@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
Description was changed from ========== Move gin and v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. R=thakis@chromium.org BUG=581766 ========== to ========== Move gin and v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. R=thakis@chromium.org TBR=jochen@chromium.org BUG=581766 ==========
scottmg@chromium.org changed reviewers: + jochen@chromium.org
tbr jochen for deps addition to child.
The CQ bit was checked by scottmg@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1484768848460840, "parent_rev": "828cd7f49f285857a741f6f255193ca6bbb011cd", "commit_rev": "608e24db64fd84c9ebaff87bf07d50c3d34059d7"}
Message was sent while issue was closed.
Description was changed from ========== Move gin and v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. R=thakis@chromium.org TBR=jochen@chromium.org BUG=581766 ========== to ========== Move gin and v8 portion of profiling to child from common This breaks up profiling.cc into separate common and child-only parts to remove the dependency of the browser DLL on Windows on v8. R=thakis@chromium.org TBR=jochen@chromium.org BUG=581766 Review-Url: https://codereview.chromium.org/2627753004 Cr-Commit-Position: refs/heads/master@{#444443} Committed: https://chromium.googlesource.com/chromium/src/+/608e24db64fd84c9ebaff87bf07d... ==========
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/608e24db64fd84c9ebaff87bf07d... |