New issue
Advanced search Search tips

Issue 891144 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Oct 2
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

residential webview_service process

Project Member Reported by changwan@chromium.org, Oct 2

Issue description

Steps to reproduce

1) Launch any webview app.
2) Run "adb shell procrank | grep webview"
3) Check that webview_service is running
4) Swipe the app from overview mode to kill it.
5) Run "adb shell procrank | grep webview"

Expected result:
webview_service is no longer running

Actual result: webview service is still running

 7902  1497720K   44408K    4810K    2928K  com.google.android.webview:webview_service

I've waited 5 minutes but still seeing this, so I suspect that the service is not being killed.


Also, I've run the following:

1) adb shell am dumpheap <pid> /data/local/tmp/a.hprof
2) adb pull /data/local/tmp/a.hprof /tmp/a.hprof
3) hprof-conv /tmp/a.hprof /tmp/b.hprof
4) jhat /tmp/b.hprof
5) Launch chrome and go to localhost:<port> to see the results

And got the attached result. I suspect that this has to do with variations seed service, so assigning to paulmiller@

 
Android can leave processes running in case they are re-used again, there is nothing running in them. Is the webview_service in the cached category from "dumpsys meminfo"? If so, then I think this is working as expected.
Status: WontFix (was: Assigned)
Like most Android processes, the service never explicitly ends itself. It persists as long as its memory isn't needed by something more important.
Ok, "dumpsys activity" showed that this is cch (cached) category. Thanks for confirming it.

Sign in to add a comment