Searched refs:task (Results 201 - 225 of 393) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/jdk/javadoc/tool/
H A DEnsureNewOldDoclet.java61 final ExecTask task; field in class:EnsureNewOldDoclet
91 task = new ExecTask(tb, javadocPath);
116 Task.Result tr = task.run(Task.Expect.SUCCESS);
131 Task.Result tr = task.run(Task.Expect.SUCCESS);
150 Task.Result tr = task.run(Task.Expect.SUCCESS);
159 task.args(args);
/openjdk10/langtools/test/tools/javac/6402516/
H A DChecker.java60 task = tool.getTask(null, fm, dl, null, null, files);
61 Iterable<? extends CompilationUnitTree> units = task.parse();
72 task = null;
128 return task.getElements();
132 return Trees.instance(task);
136 protected JavacTask task; field in class:Checker
/openjdk10/hotspot/src/share/vm/gc/shared/
H A Dworkgroup.cpp113 // The task currently being dispatched to the GangWorkers.
138 void coordinator_execute_on_workers(AbstractGangTask* task, uint num_workers) {
140 _task = task;
157 // Wait for the coordinator to dispatch a task.
169 // Mark that the worker is done with the task.
201 void coordinator_execute_on_workers(AbstractGangTask* task, uint num_workers) {
204 _task = task;
268 void WorkGang::run_task(AbstractGangTask* task) {
269 run_task(task, active_workers());
272 void WorkGang::run_task(AbstractGangTask* task, uin
[all...]
/openjdk10/hotspot/src/share/vm/runtime/
H A DadvancedThresholdPolicy.cpp194 for (CompileTask* task = compile_queue->first(); task != NULL;) {
195 CompileTask* next_task = task->next();
196 Method* method = task->method();
199 max_task = task;
204 if (task->can_become_stale() && is_stale(t, TieredCompileTaskTimeout, method) && !is_old(method)) {
206 print_event(REMOVE_FROM_QUEUE, method, method, task->osr_bci(), (CompLevel)task->comp_level());
208 compile_queue->remove_and_mark_stale(task);
210 task
[all...]
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DScheduledExecutorTest.java81 final Runnable task = new CheckedRunnable() {
83 p.execute(task);
96 Callable task = new CheckedCallable<Boolean>() {
102 Future f = p.schedule(task, timeoutMillis(), MILLISECONDS);
117 Runnable task = new CheckedRunnable() {
122 Future f = p.schedule(task, timeoutMillis(), MILLISECONDS);
137 Runnable task = new CheckedRunnable() {
143 p.scheduleAtFixedRate(task, timeoutMillis(),
159 Runnable task = new CheckedRunnable() {
165 p.scheduleWithFixedDelay(task, timeoutMilli
[all...]
/openjdk10/langtools/src/jdk.jshell/share/classes/jdk/jshell/
H A DTaskFactory.java104 // Parse a snippet and return our parse task handler
216 return task.parse();
260 Iterable<? extends CompilationUnitTree> cuts = task.parse();
261 task.analyze();
274 return task.getElements();
278 return task.getTypes();
296 boolean result = task.call();
339 final JavacTaskImpl task; field in class:TaskFactory.BaseTask
358 this.task = (JavacTaskImpl) ((JavacTool) compiler).getTask(null,
393 trees = Trees.instance(task);
[all...]
/openjdk10/hotspot/src/share/vm/ci/
H A DciEnv.cpp93 ciEnv::ciEnv(CompileTask* task, int system_dictionary_modification_counter) argument
115 assert(task == NULL || thread->task() == task, "sanity");
116 _task = task;
953 // Print out the compile task that failed
1051 compiler, task()->comp_level());
1064 // (Put nm into the task handle *before* publishing to the Java heap.)
1065 if (task() != NULL) {
1066 task()
1211 CompileTask* task = this->task(); local
[all...]
/openjdk10/hotspot/src/share/vm/gc/parallel/
H A DpsCompactionManager.cpp251 ObjArrayTask task; local
252 if (_objarray_stack.pop_overflow(task) || _objarray_stack.pop_local(task)) {
253 follow_contents((objArrayOop)task.obj(), task.index());
H A DpsCompactionManager.inline.hpp55 ObjArrayTask task(obj, index);
56 assert(task.is_valid(), "bad ObjArrayTask");
57 _objarray_stack.push(task);
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/ch/
H A DIocp.java182 void executeOnHandlerTask(Runnable task) { argument
186 offerTask(task);
303 * Long-running task servicing system-wide or per-file completion port
330 // handle wakeup to execute task or shutdown
334 Runnable task = pollTask();
335 if (task == null) {
340 // run task
343 task.run();
/openjdk10/jdk/test/sun/security/ssl/SSLEngineImpl/
H A DSSLEngineDeadlock.java185 Runnable task;
188 if ((task = clientEngine.getDelegatedTask()) != null) {
189 task.run();
191 if ((task = serverEngine.getDelegatedTask()) != null) {
192 task.run();
/openjdk10/jdk/test/javax/swing/text/AbstractDocument/6968363/
H A DTest6968363.java57 Runnable task = new Test6968363();
58 invokeAndWait(task);
65 invokeAndWait(task);
183 public void render(Runnable task) { argument
184 this.document.render(task);
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/
H A DCompilationService.java112 JavacTaskImpl task =
121 task.addTaskListener(depsCollector);
122 task.addTaskListener(pubApiCollector);
123 task.addTaskListener(papVerifier);
125 result = task.doCall();
/openjdk10/langtools/make/intellij/src/idea/
H A DLangtoolsIdeaAntLogger.java41 * work with, as it provides two separate views: (i) a tree view, which is good to display build task
129 /** exec task - invoked during compilation */
132 /** jtreg task - invoked during test execution */
134 /** initial synthetic task when the logger is created */
141 /** synthetic task catching any other tasks not in this list */
229 * A custom task used to channel info regarding a status change
312 for (Task task : Task.values()) {
313 if (task.matches(taskName)) {
314 tasks.push(task);
323 //we need to 'close' the root task t
[all...]
/openjdk10/make/idea/template/src/idea/
H A DJdkIdeaAntLogger.java41 * work with, as it provides two separate views: (i) a tree view, which is good to display build task
133 /** javac task - invoked during compilation */
136 /** jtreg task - invoked during test execution */
138 /** initial synthetic task when the logger is created */
145 /** synthetic task catching any other tasks not in this list */
240 * A custom task used to channel info regarding a status change
322 System.err.println("task started " + taskName);
323 for (Task task : Task.values()) {
324 if (task.matches(taskName)) {
325 tasks.push(task);
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/
H A DPendingFuture.java34 * attachment of an additional arbitrary context object and a timer task.
51 // optional timer task that is cancelled when result becomes available
105 void setTimeoutTask(Future<?> task) { argument
108 task.cancel(false);
110 this.timeoutTask = task;
/openjdk10/langtools/test/tools/javac/
H A DT6403466.java66 JavacTask task = tool.getTask(out, fm, null, options, null, files);
69 task.setTaskListener(vtl);
71 if (!task.call())
/openjdk10/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
/openjdk10/langtools/test/tools/javac/api/taskListeners/
H A DCompileEvent.java147 @Override public void init(JavacTask task, String... args) { argument
148 Context context = ((BasicJavacTask) task).getContext();
150 task.addTaskListener(new TaskListenerImpl(log.getWriter(WriterKind.NOTICE)));
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/source/util/
H A DTrees.java57 * @param task the compilation task for which to get the Trees object
58 * @throws IllegalArgumentException if the task does not support the Trees API.
61 public static Trees instance(CompilationTask task) { argument
62 String taskClassName = task.getClass().getName();
66 return getJavacTrees(CompilationTask.class, task);
/openjdk10/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();
/openjdk10/langtools/test/tools/javac/generics/6413682/
H A DTestPos.java109 JavacTask task = (JavacTask)javac.getTask(null, null, dl, null, null,
111 Trees trees = Trees.instance(task);
112 Iterable<? extends Tree> toplevels = task.parse();
/openjdk10/langtools/test/tools/javac/processing/loader/testClose/
H A DTestClose2.java100 JavacTask task = tool.getTask(null, fm, null, options, null, files);
101 task.setTaskListener(this);
103 if (!task.call())
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core/src/org/graalvm/compiler/core/target/
H A DBackend.java204 for (CodeInstallationTask task : tasks) {
205 task.preProcess(compilationResult);
213 for (CodeInstallationTask task : tasks) {
214 task.postProcess(installedCode);
216 for (CodeInstallationTask task : tasks) {
217 task.releaseInstallation(installedCode);
/openjdk10/hotspot/src/share/vm/gc/serial/
H A DmarkSweep.cpp122 ObjArrayTask task(obj, index);
123 assert(task.is_valid(), "bad ObjArrayTask");
124 _objarray_stack.push(task);
170 ObjArrayTask task = _objarray_stack.pop(); local
171 follow_array_chunk(objArrayOop(task.obj()), task.index());

Completed in 284 milliseconds

1234567891011>>