Lines Matching full:jvm
17 use util::{jvm, AtomicIntegerProxy};
21 let executor = Executor::new(jvm().clone()); in single_thread()
27 let executor = Executor::new(jvm().clone()); in serialized_threads()
33 let executor = Executor::new(jvm().clone()); in concurrent_threads()
95 let jvm = jvm().clone(); localVariable
105 let jvm = jvm.clone(); localVariable
108 let mut env = jvm.attach_current_thread().unwrap();
128 let jvm = jvm.clone(); localVariable
135 let mut env = jvm.attach_current_thread_as_daemon().unwrap();
140 println!("daemon JVM use before destroy...");
155 jvm.detach_current_thread();
173 // to the JVM
178 // threads have finished using the VM since `jvm.destroy()` won't wait
185 // We drop the `jvm` variable immediately after `destroy()` returns to avoid
189 jvm.destroy().unwrap();
190 drop(jvm);
191 println!("MAIN: jvm destroyed");