Skip to content
Commit 63ac004d authored by Peter Wen's avatar Peter Wen Committed by Chromium LUCI CQ
Browse files

Android: Turn off StrictMode.ThreadPolicy

The vast majority of StrictModeContext suppressions are for disk IO,
which is a ThreadPolicy violation. Turning this off in //chrome improves
performance (see https://crbug.com/40279700).

StrictModeContext should still be used in WebView-only code and
WebView-shared code with Chrome.

Bug: 40286080
Change-Id: Ib921ff6014200b1f50e4cbd09f0b0a4e7b584bda
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5398278


Auto-Submit: Peter Wen <wnwen@chromium.org>
Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1278445}
parent d13d4aaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment