You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In addition to what Halton said, this patch also needs a better commit and pull request message:
The first line needs to indicate this is a Tizen-related commit, so it should have the "[Tizen]" prefix.
This commit is not disabling shared process, but rather making it conditionally activated based on a command line option instead of an ifdef. You need to make this clear.
Additionally, if you are removing the ifdef, you can also remove the processing of the shared_process_mode variable in gyp (and consequently its setting in the spec file).
pls. remove compile time flags, as @rakuco proposed
Apparently your patch affects Crosswalk Desktop code path, which is not acceptable.
Instead of checking cmd line every where please add bool XWalkRunner::shared_process_mode_enabled() { return shared_process_mode_enabled_; }, shared_process_mode_enabled_ should be 'false' for every platform other than Tizen, for Tizen it should be initialized, based on cmd line.
We should somehow make sure that the new cmd flag is only for development purpose, and it should not be available on "product" version. @rakuco@halton any ideas how to achieve it?
We should somehow make sure that the new cmd flag is only for development purpose, and it should not be available on "product" version. @rakuco@halton any ideas how to achieve it?
We should somehow make sure that the new cmd flag is only for development purpose, and it should not be available on "product" version. @rakuco@halton any ideas how to achieve it?
Shouldn't it? I was considering it something like Chromium's "--single-process": I can pass it to my Debian's chromium binary, but there's a warning saying this is an unsupported configuration and I'm on my own if something crashes. We don't need to add a warning, but I thought it would be harmless to leave the option there in all builds.
Shouldn't it? I was considering it something like Chromium's "--single-process": I can pass it to my Debian's chromium binary, but there's a warning saying this is an unsupported configuration and I'm on my own if something crashes. We don't need to add a warning, but I thought it would be harmless to leave the option there in all builds.
Shouldn't it? I was considering it something like Chromium's "--single-process": I can pass it to my Debian's chromium binary, but there's a warning saying this is an unsupported configuration and I'm on my own if something crashes. We don't need to add a warning, but I thought it would be harmless to leave the option there in all builds.
If Tizen platform/security guys are OK with it I'm OK with it too. Btw @rakuco should we place xwalk also to /usr/bin in this case?
Btw @rakuco should we place xwalk also to /usr/bin in this case?
That's a decision I'd rather leave to the Tizen people. Personally, if this is only going to be used for debugging, I'd be fine with leaving the binary only in %{_libdir}/xwalk/lib like we do today (I'm assuming calling /usr/lib{64}/xwalk/lib/xwalk --single-process would work without one having to set any additional environment variables).
It should be very clear by now that you are not supposed to create a new pull request for this. You should have updated the existing one.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
6 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The shared process mode makes debugging very hard so
we need to disable it at runtime.
Bug: XWALK-2987