OSDN Git Service

Increase 32-bit WebView VA reservation.
authorTorne (Richard Coles) <torne@google.com>
Mon, 6 May 2019 20:24:54 +0000 (16:24 -0400)
committerTorne (Richard Coles) <torne@google.com>
Mon, 6 May 2019 20:24:54 +0000 (16:24 -0400)
commit4d72998fdadf17429f6868dae76c4d2e7b6be7b1
treec2c0534815ebcbbe55d6012e12eac9b3f5755821
parent370132a52b5338139469a8dbb6cf1a592bd41a30
Increase 32-bit WebView VA reservation.

Most pre-Q devices actually reserved around 130MiB in the 32-bit zygote
for the WebView native library; 100MiB was only the lower limit and the
file size based calculation that older OS versions use would come up
with a larger number. Increase the hardcoded value for Q to 130MiB so
that the behaviour is roughly the same across OS versions.

Fixes: 132081320
Test: manually verified via inspection of process maps
Change-Id: I0f03ac2f118bb0627ea6be229e5064d4590d8afb
core/java/android/webkit/WebViewLibraryLoader.java