Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Issue 50493015: Allow JNI registration to be performed eagerly. (Closed)

Created:
7 years, 1 month ago by Torne
Modified:
7 years, 1 month ago
Reviewers:
bulach, Yaron, Jói
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org, jochen+watch_chromium.org
Visibility:
Public.

Description

Allow JNI registration to be performed eagerly. Add a content API function which allows JNI registration to be performed immediately during JNI_OnLoad, instead of always being deferred until LibraryLoaded. Add a call to this new API in android_webview's entry point, since it benefits from the eager registration by allowing more pages to be shared, and for certain JNI functions to be called without starting all of Chromium (e.g. to enable AwCookieManager). BUG=304813 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232696

Patch Set 1 #

Total comments: 1

Patch Set 2 : Simpler approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -32 lines) Patch
M android_webview/lib/main/webview_entry_point.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 2 chunks +45 lines, -32 lines 0 comments Download
M content/public/app/android_library_loader_hooks.h View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Torne
7 years, 1 month ago (2013-10-31 14:50:31 UTC) #1
Yaron
High-level: we already have so many forms of async startup with BrowserController.java and browser_main_loop's StartupTaskRunner, ...
7 years, 1 month ago (2013-10-31 21:28:30 UTC) #2
Torne
On 2013/10/31 21:28:30, Yaron wrote: > High-level: we already have so many forms of async ...
7 years, 1 month ago (2013-11-01 11:35:16 UTC) #3
Torne
+joi for content/public OWNERS
7 years, 1 month ago (2013-11-01 11:40:26 UTC) #4
Jói
//content/public LGTM.
7 years, 1 month ago (2013-11-01 12:04:53 UTC) #5
Yaron
lgtm Please update the Cl description (it's still based on old approach)
7 years, 1 month ago (2013-11-01 16:35:07 UTC) #6
Torne
On 2013/11/01 16:35:07, Yaron wrote: > lgtm > > Please update the Cl description (it's ...
7 years, 1 month ago (2013-11-01 16:37:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/torne@chromium.org/50493015/80001
7 years, 1 month ago (2013-11-01 16:47:18 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=170699
7 years, 1 month ago (2013-11-01 19:10:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/torne@chromium.org/50493015/80001
7 years, 1 month ago (2013-11-04 10:42:44 UTC) #10
commit-bot: I haz the power
7 years, 1 month ago (2013-11-04 12:25:44 UTC) #11
Message was sent while issue was closed.
Change committed as 232696

Powered by Google App Engine
This is Rietveld 408576698