ReactInstanceManager: post executor name with `CREATE_REACT_CONTEXT_START` marker

Summary: Adds the name of the active JS executor when logging the `CREATE_REACT_CONTEXT_START` marker.

Reviewed By: fromcelticpark

Differential Revision: D7800760

fbshipit-source-id: d5090a9f90cf4b7bcfb7218e75621becebd70675
This commit is contained in:
David Aurelio 2018-05-01 13:02:38 -07:00 коммит произвёл Facebook Github Bot
Родитель 8e3105dbce
Коммит fa25311d27
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1067,7 +1067,7 @@ public class ReactInstanceManager {
JavaScriptExecutor jsExecutor,
JSBundleLoader jsBundleLoader) {
Log.d(ReactConstants.TAG, "ReactInstanceManager.createReactContext()");
ReactMarker.logMarker(CREATE_REACT_CONTEXT_START);
ReactMarker.logMarker(CREATE_REACT_CONTEXT_START, jsExecutor.getName());
final ReactApplicationContext reactContext = new ReactApplicationContext(mApplicationContext);
NativeModuleCallExceptionHandler exceptionHandler = mNativeModuleCallExceptionHandler != null