am 96122e52: Pass the name of the native bridge library to the runtime
* commit '96122e521066099ef61235b92962df6156d2a6b0': Pass the name of the native bridge library to the runtime
This commit is contained in:
@@ -590,6 +590,7 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
|
||||
char lockProfThresholdBuf[sizeof("-Xlockprofthreshold:")-1 + PROPERTY_VALUE_MAX];
|
||||
char jitOpBuf[sizeof("-Xjitop:")-1 + PROPERTY_VALUE_MAX];
|
||||
char jitMethodBuf[sizeof("-Xjitmethod:")-1 + PROPERTY_VALUE_MAX];
|
||||
char nativeBridgeLibrary[sizeof("-XX:NativeBridge=") + PROPERTY_VALUE_MAX];
|
||||
|
||||
bool checkJni = false;
|
||||
property_get("dalvik.vm.checkjni", propBuf, "");
|
||||
@@ -882,6 +883,8 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
|
||||
"-Xprofile-max-stack-depth:");
|
||||
}
|
||||
|
||||
parseRuntimeOption("dalvik.vm.native.bridge", nativeBridgeLibrary, "-XX:NativeBridge=");
|
||||
|
||||
initArgs.version = JNI_VERSION_1_4;
|
||||
initArgs.options = mOptions.editArray();
|
||||
initArgs.nOptions = mOptions.size();
|
||||
|
||||
Reference in New Issue
Block a user