[go: up one dir, main page]

base/android: Pin ordered code when the platorm supports it.

This asks the framework to pin the ordered section of Chrome's code in memory
when the platform supports it. Reflection is required, as this is not in the
platform SDK, and is not available everywhere.

(cherry picked from commit 28d8071a26fe932f3269e20eef0c24a52cca81b0)

Bug: 929926
Change-Id: I21a26f42eee9054559b32d2e014d8a7c476f3b3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632689
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Egor Pasko <pasko@chromium.org>
Commit-Queue: Benoit L <lizeb@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#667927}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663509
Reviewed-by: Benoit L <lizeb@chromium.org>
Cr-Commit-Position: refs/branch-heads/3809@{#404}
Cr-Branched-From: d82dec1a818f378c464ba307ddd9c92133eac355-refs/heads/master@{#665002}
1 file changed