DescriptionAlways use mojo_shell in over-http mode
--origin tells mojo_shell to map all mojo: urls
to to a new base-url instead of the build directory.
This makes skydb's mojo_shell *always* use the network
loading path, which is what Android mojo_shell does
and is more like how mojo_shell will eventually be
used.
I also fixed the disk-space leak in the
dynamic_application_loader's NetworkLoader path
by having it immediately unlink the /tmp copy
of the library after dlopen.
In order to keep pprof working I had to teach the
dynamic_application_loader to write out a map of
/tmp/file -> url mappings so that we can fix
the pprof file afterwords.
This will "break" skydb --gdb on linux in exactly
as much as it is already broken on Android, but
I'm working on a build-id based solution for both
so that gdb knows how to find symbols for
non-existant randomly named /tmp libraries.
R=abarth@chromium.org, viettrungluu@chromium.org
BUG=450696
Committed: https://chromium.googlesource.com/external/mojo/+/05d7c0dc584f9bde9ea4135fcb1b17e7088ee671
Patch Set 1 #Patch Set 2 : Fix pprof #
Total comments: 8
Patch Set 3 : Updated per reviews #
Total comments: 14
Patch Set 4 : Fixed per trung #
Total comments: 2
Messages
Total messages: 19 (4 generated)
|