Searched refs:task (Results 101 - 125 of 210) sorted by relevance

123456789

/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/
H A DDirectoryScanner.java244 final ScanTask task;
264 currentTask = task = new ScanTask(list,this);
267 // task.execute() is called. This code could in fact be modified
268 // to use java.util.concurent.Future and, to push the task to
269 // an executor. We would then need to wait for the task to
271 // anything - since this method should wait for the task to
273 // As it stands, we simply call task.execute() in the current
279 task.execute();
429 private void scan(ScanTask task, LinkedList<File> list) { argument
431 task
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Dworkgroup.hpp65 // An abstract task to be worked on by a gang.
73 // This method configures the task for proper termination.
93 // ??? Should a task have a priority associated with it?
133 // Run a task, returns when the task is done (or terminated).
134 virtual void run_task(AbstractGangTask* task) = 0;
137 // Return true if more workers should be applied to the task.
158 // The task for this gang.
160 // A sequence number for the current task.
183 AbstractGangTask* task() cons function in class:AbstractWorkGang
244 AbstractGangTask* task() const { return _task; } function in class:WorkData
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DmarkSweep.inline.hpp79 ObjArrayTask task(obj, index);
80 assert(task.is_valid(), "bad ObjArrayTask");
81 _objarray_stack.push(task);
/openjdk7/hotspot/src/share/vm/runtime/
H A DadvancedThresholdPolicy.cpp162 for (CompileTask* task = compile_queue->first(); task != NULL;) {
163 CompileTask* next_task = task->next();
164 methodHandle method = (methodOop)JNIHandles::resolve(task->method_handle());
167 max_task = task;
173 print_event(REMOVE_FROM_QUEUE, method, method, task->osr_bci(), (CompLevel)task->comp_level());
175 CompileTaskWrapper ctw(task); // Frees the task
176 compile_queue->remove(task);
[all...]
H A Dmemprofiler.cpp38 #include "runtime/task.hpp"
61 void task();
65 void MemProfilerTask::task() { function in class:MemProfilerTask
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DMacosxOperatingSystem.c95 mach_port_t task = mach_task_self(); local
102 kr = task_info(task,
107 // Most likely cause: |task| is a zombie.
112 kr = task_info(task,
117 // Most likely cause: |task| is a zombie.
127 // ... task info contains terminated time.
/openjdk7/langtools/test/tools/javac/
H A DT6358024.java77 JavacTaskImpl task = (JavacTaskImpl) tool.getTask(out,
84 task.setTaskListener(tl);
85 task.call();
H A DT6665791.java54 JavacTask task = (JavacTask) compiler.getTask(sw, manager, null, null,
63 }.scan(task.parse(), null);
/openjdk7/langtools/test/tools/javac/api/6421111/
H A DT6421111.java73 task = tool.getTask(null, fm, null, Collections.singleton("-Xlint:all"), null,
75 task.setProcessors(Collections.singleton(new MyProcessor()));
76 if (!task.call())
/openjdk7/langtools/test/tools/javac/api/
H A DTestDocComments.java60 JavacTask task = tool.getTask(pw, fm, null, null, null, fileObjects);
61 Iterable<? extends CompilationUnitTree> units = task.parse();
62 Trees trees = Trees.instance(task);
H A DT6345974.java52 JavacTask task = tool.getTask(out, fm, null, null, null, f);
53 Iterable<? extends CompilationUnitTree> trees = task.parse();
/openjdk7/langtools/test/tools/javac/positions/
H A DT6404194.java62 JavacTask task = (JavacTask)javac.getTask(null, null, null, null, null, compilationUnits);
63 Trees trees = Trees.instance(task);
64 CompilationUnitTree toplevel = task.parse().iterator().next();
/openjdk7/langtools/test/tools/javac/processing/options/testCommandLineClasses/
H A DTest.java73 JavaCompiler.CompilationTask task = compiler.getTask(
75 task.setProcessors(Arrays.asList(new Test()));
76 boolean ok = task.call();
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DCustom.java71 Runnable r, RunnableScheduledFuture<V> task) {
73 return task;
76 Callable<V> c, RunnableScheduledFuture<V> task) {
78 return task;
70 decorateTask( Runnable r, RunnableScheduledFuture<V> task) argument
75 decorateTask( Callable<V> c, RunnableScheduledFuture<V> task) argument
/openjdk7/jdk/test/javax/management/monitor/
H A DStartStopTest.java64 task("Integer");
68 task("Double");
72 task("String");
75 private void task(String prop) { method in class:StartStopTest.ObservedObject
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderQueue.java208 * and then invokes the provided task. This method will block until the
209 * entire buffer has been flushed and the provided task has been executed.
212 public abstract void flushAndInvokeNow(Runnable task); argument
/openjdk7/langtools/test/tools/javac/api/6437349/
H A DT6437349.java41 task = tool.getTask(null, fm, null, null, null, null);
/openjdk7/jdk/src/macosx/native/jobjc/src/tests/java/com/apple/jobjc/
H A DBaseBench.java71 public long singleBench(final long iterations, final Task task){ argument
74 task.run();
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DPendingIoCache.java151 // execute a task that invokes the result handler's failed method
153 Runnable task = new Runnable() {
158 iocp.executeOnPooledThread(task);
/openjdk7/langtools/test/tools/javac/Diagnostics/7010608/
H A DTest.java63 CompilationTask task = javac.getTask(pw, null, null, options, null, files);
64 boolean ok = task.call();
/openjdk7/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/
H A DZeroCorePoolSize.java45 Runnable task = new Runnable() {
52 pool.schedule(task, 1, TimeUnit.SECONDS);
/openjdk7/langtools/test/tools/javac/T6458823/
H A DT6458823.java65 final CompilationTask task = compiler.getTask(null, fm, diagColl,
67 task.call();
/openjdk7/langtools/test/tools/javac/api/6731573/
H A DT6731573.java93 task = tool.getTask(pw, fm, null, options, null, compilationUnits);
94 task.call();
/openjdk7/langtools/test/tools/javac/api/evalexpr/
H A DCompileFromString.java81 JavaCompiler.CompilationTask task =
83 if (task.call()) {
/openjdk7/langtools/test/tools/javac/processing/6414633/
H A DT6414633.java60 JavacTask task = tool.getTask(null, fm, dl, Arrays.asList(opts), null, files);
61 task.call();

Completed in 2349 milliseconds

123456789