Lines Matching defs:closure
33 // The closure for GetLoadedClasses and GetClassLoaderClasses
153 // Public methods that get called within the scope of the closure
256 // and doesn't call back with a closure data pointer,
259 JvmtiGetLoadedClassesClosure closure;
271 closure.allocate();
279 jvmtiError err = env->Allocate(closure.get_count() * sizeof(jclass),
284 closure.extract(env, result_list);
285 *classCountPtr = closure.get_count();
294 // and doesn't call back with a closure data pointer,
296 JvmtiGetLoadedClassesClosure closure(initiatingLoader);
311 closure.allocate();
319 jvmtiError err = env->Allocate(closure.get_count() * sizeof(jclass),
324 closure.extract(env, result_list);
325 *classCountPtr = closure.get_count();