Searched refs:task (Results 126 - 150 of 210) sorted by relevance

123456789

/openjdk7/langtools/test/tools/javac/processing/6430209/
H A DT6430209.java70 JavacTask task = tool.getTask(out, fm, dl, opts, null, files);
71 task.call();
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.hpp57 jobject _hot_method; // which method actually triggered this task
59 const char* _comment; // more info about the task
199 void add(CompileTask* task);
200 void remove(CompileTask* task);
214 // Assign this task to the current thread. Deallocate the task
218 CompileTaskWrapper(CompileTask* task);
324 static void free_task(CompileTask* task);
325 static void wait_for_completion(CompileTask* task);
327 static void invoke_compiler_on_method(CompileTask* task);
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DIocp.java192 void executeOnHandlerTask(Runnable task) { argument
196 offerTask(task);
313 * Long-running task servicing system-wide or per-file completion port
340 // handle wakeup to execute task or shutdown
344 Runnable task = pollTask();
345 if (task == null) {
350 // run task
353 task.run();
H A DWindowsAsynchronousServerSocketChannelImpl.java337 AcceptTask task = new AcceptTask(ch, acc, result);
338 result.setContext(task);
346 task.run();
348 Invoker.invokeOnThreadInThreadPool(this, task);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/
H A DSSLEngineDeadlock.java187 Runnable task;
190 if ((task = clientEngine.getDelegatedTask()) != null) {
191 task.run();
193 if ((task = serverEngine.getDelegatedTask()) != null) {
194 task.run();
/openjdk7/langtools/src/share/classes/com/sun/source/util/
H A DTrees.java56 * @param task the compilation task for which to get the Trees object
57 * @throws IllegalArgumentException if the task does not support the Trees API.
59 public static Trees instance(CompilationTask task) { argument
60 if (!task.getClass().getName().equals("com.sun.tools.javac.api.JavacTaskImpl"))
62 return getJavacTrees(CompilationTask.class, task);
/openjdk7/jdk/test/java/util/concurrent/forkjoin/
H A DNQueensCS.java98 NQueensCS task = new NQueensCS(new int[0]);
99 g.invoke(task);
100 int solutions = task.solutions;
156 // Always run first the task held instead of forked
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DPendingFuture.java34 * attachment of an additional arbitrary context object and a timer task.
53 // optional timer task that is cancelled when result becomes available
107 void setTimeoutTask(Future<?> task) { argument
110 task.cancel(false);
112 this.timeoutTask = task;
H A DSimpleAsynchronousFileChannelImpl.java197 Runnable task = new Runnable() {
232 executor.execute(task);
312 Runnable task = new Runnable() {
340 executor.execute(task);
366 Runnable task = new Runnable() {
394 executor.execute(task);
/openjdk7/langtools/test/tools/javac/
H A DT6403466.java62 JavacTask task = tool.getTask(out, fm, null, options, null, files);
65 task.setTaskListener(vtl);
67 if (!task.call())
H A DT6397044.java48 JavacTask task = tool.getTask(null, fm, null, null, null, files);
49 Iterable<? extends CompilationUnitTree> trees = task.parse();
H A DT6406771.java47 JavacTask task = tool.getTask(null, fm, null, opts, null, Arrays.asList(f));
49 if (!task.call())
/openjdk7/langtools/test/tools/javac/generics/6413682/
H A DTestPos.java108 JavacTask task = (JavacTask)javac.getTask(null, null, dl, null, null,
110 Trees trees = Trees.instance(task);
111 Iterable<? extends Tree> toplevels = task.parse();
/openjdk7/langtools/test/tools/javac/processing/model/type/
H A DTestUnionType.java124 JavaCompiler.CompilationTask task = comp.getTask(null, null, null, options, null, Arrays.asList(fo));
125 task.setProcessors(Arrays.asList(p));
126 boolean ok = task.call();
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DgcTaskManager.cpp45 result = "unknown task";
48 result = "ordinary task";
51 result = "barrier task";
54 result = "noop task";
57 result = "idle task";
93 assert(older() == NULL, "shouldn't have an older task");
94 assert(newer() == NULL, "shouldn't have a newer task");
167 // Enqueue one task.
168 void GCTaskQueue::enqueue(GCTask* task) { argument
171 " GCTaskQueue::enqueue(task
301 remove(GCTask* task) argument
599 queue()->enqueue(task); variable
[all...]
H A DpcTasks.hpp35 // Tasks are created and enqueued on a task queue. The
49 // do little more than create the task and put it on a queue. The
62 // This task marks from the roots of a single thread. This task
76 char* name() { return (char *)"thread-roots-marking-task"; }
85 // This task marks from all the roots to all live
108 char* name() { return (char *)"mark-from-roots-task"; }
116 // This task is used as a proxy to parallel reference processing tasks .
140 // This task is used as a proxy to parallel reference processing tasks .
170 virtual void execute(ProcessTask& task);
[all...]
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/
H A DDieBeforeComplete.java119 static <T> Future<T> initiateAndDie(final Task<T> task) { argument
123 result.set(task.run());
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DClosedByInterrupt.java80 ReaderWriter task = new ReaderWriter(fc, interruptible);
81 Thread t = new Thread(task);
103 * A task that continuously reads or writes to random areas of a file
104 * until the channel is closed. An "interruptible" task expects the
/openjdk7/jdk/test/java/util/concurrent/Phaser/
H A DArrive.java58 final Runnable task = new Runnable() { public void run() {
71 threads.add(new Thread(task));
/openjdk7/langtools/test/tools/javac/T6956462/
H A DT6956462.java50 final CompilationTask task = compiler.getTask(null, fm, null,
52 JavacTask javacTask = (JavacTask) task;
/openjdk7/langtools/test/tools/javac/api/
H A DT6392782.java44 JavacTask task = tool.getTask(null, fm, null, null, null, files);
45 Iterable<? extends Tree> trees = task.parse();
H A DTestTreePath.java113 JavaCompiler.CompilationTask task =
118 task.call();
/openjdk7/langtools/test/tools/javac/processing/
H A DT6439826.java55 JavacTask task = tool.getTask(out, fm, dl, opts, null, files);
56 task.call();
/openjdk7/langtools/test/tools/javac/tree/
H A DClassTreeTest.java49 JavacTask task = tool.getTask(null, fm, null, opts, null, fos);
50 for (CompilationUnitTree cu: task.parse()) {
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ci/
H A DciEnv.java74 public CompileTask task() { method in class:ciEnv

Completed in 54 milliseconds

123456789