mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Initialize the VM will full debugging for now
This commit is contained in:
parent
d7148efb8e
commit
686b9cf2fa
1 changed files with 7 additions and 2 deletions
|
@ -147,13 +147,18 @@ initialize_java_vm (void)
|
|||
} else {
|
||||
JNIEnv *env;
|
||||
JavaVMInitArgs vm_args;
|
||||
JavaVMOption options[1];
|
||||
JavaVMOption options[4];
|
||||
|
||||
options[0].optionString = "-verbose:jni";
|
||||
options[1].optionString = "-verbose:gc";
|
||||
options[2].optionString = "-Xcheck:jni";
|
||||
options[3].optionString = "-Xdebug";
|
||||
|
||||
/* FIXME: Do we need any options here? Like exit()
|
||||
* handler, or classpaths? */
|
||||
vm_args.version = JNI_VERSION_1_6;
|
||||
vm_args.options = options;
|
||||
vm_args.nOptions = 0;
|
||||
vm_args.nOptions = 4;
|
||||
vm_args.ignoreUnrecognized = JNI_TRUE;
|
||||
if (create_java_vm (&java_vm, &env, &vm_args) < 0)
|
||||
goto create_failed;
|
||||
|
|
Loading…
Reference in a new issue