/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/ |
H A D | DirectoryScanner.java | 244 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 D | workgroup.hpp | 65 // 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 D | markSweep.inline.hpp | 79 ObjArrayTask task(obj, index); 80 assert(task.is_valid(), "bad ObjArrayTask"); 81 _objarray_stack.push(task);
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | advancedThresholdPolicy.cpp | 162 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 D | memprofiler.cpp | 38 #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 D | MacosxOperatingSystem.c | 95 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 D | T6358024.java | 77 JavacTaskImpl task = (JavacTaskImpl) tool.getTask(out, 84 task.setTaskListener(tl); 85 task.call();
|
H A D | T6665791.java | 54 JavacTask task = (JavacTask) compiler.getTask(sw, manager, null, null, 63 }.scan(task.parse(), null);
|
/openjdk7/langtools/test/tools/javac/api/6421111/ |
H A D | T6421111.java | 73 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 D | TestDocComments.java | 60 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 D | T6345974.java | 52 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 D | T6404194.java | 62 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 D | Test.java | 73 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 D | Custom.java | 71 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 D | StartStopTest.java | 64 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 D | RenderQueue.java | 208 * 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 D | T6437349.java | 41 task = tool.getTask(null, fm, null, null, null, null);
|
/openjdk7/jdk/src/macosx/native/jobjc/src/tests/java/com/apple/jobjc/ |
H A D | BaseBench.java | 71 public long singleBench(final long iterations, final Task task){ argument 74 task.run();
|
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | PendingIoCache.java | 151 // 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 D | Test.java | 63 CompilationTask task = javac.getTask(pw, null, null, options, null, files); 64 boolean ok = task.call();
|
/openjdk7/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/ |
H A D | ZeroCorePoolSize.java | 45 Runnable task = new Runnable() { 52 pool.schedule(task, 1, TimeUnit.SECONDS);
|
/openjdk7/langtools/test/tools/javac/T6458823/ |
H A D | T6458823.java | 65 final CompilationTask task = compiler.getTask(null, fm, diagColl, 67 task.call();
|
/openjdk7/langtools/test/tools/javac/api/6731573/ |
H A D | T6731573.java | 93 task = tool.getTask(pw, fm, null, options, null, compilationUnits); 94 task.call();
|
/openjdk7/langtools/test/tools/javac/api/evalexpr/ |
H A D | CompileFromString.java | 81 JavaCompiler.CompilationTask task = 83 if (task.call()) {
|
/openjdk7/langtools/test/tools/javac/processing/6414633/ |
H A D | T6414633.java | 60 JavacTask task = tool.getTask(null, fm, dl, Arrays.asList(opts), null, files); 61 task.call();
|