Lines Matching full:jvm
11 pub fn jvm() -> &'static Arc<JavaVM> { in jvm() function
12 static mut JVM: Option<Arc<JavaVM>> = None; in jvm() constant
22 let jvm = JavaVM::new(jvm_args).unwrap_or_else(|e| panic!("{:#?}", e)); in jvm() localVariable
25 JVM = Some(Arc::new(jvm)); in jvm()
29 unsafe { JVM.as_ref().unwrap() } in jvm()
47 jvm() in attach_current_thread()
49 .expect("failed to attach jvm thread") in attach_current_thread()
54 jvm() in attach_current_thread_as_daemon()
56 .expect("failed to attach jvm daemon thread") in attach_current_thread_as_daemon()
61 jvm() in attach_current_thread_permanently()
63 .expect("failed to attach jvm thread permanently") in attach_current_thread_permanently()
68 jvm().detach_current_thread() in detach_current_thread()