Searched refs:task (Results 26 - 50 of 210) sorted by relevance

123456789

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/bsd/
H A DBsdDebuggerLocal.java56 private long task; // macosx task handle field in class:BsdDebuggerLocal
115 WorkerThreadTask task; field in class:BsdDebuggerLocal.BsdDebuggerLocalWorkerThread
126 if (task != null) {
129 task.doit(debugger);
133 task = null;
144 public WorkerThreadTask execute(WorkerThreadTask task) throws DebuggerException { argument
146 this.task = task;
148 while (this.task !
[all...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/
H A DMonitoredHostProvider.java45 private NotifierTask task; field in class:MonitoredHostProvider
102 if (task == null) {
103 task = new NotifierTask();
105 timer.schedule(task, interval, interval);
116 if (listeners.isEmpty() && (task != null)) {
117 task.cancel();
118 task = null;
135 if (task != null) {
136 task.cancel();
137 NotifierTask oldTask = task;
[all...]
/openjdk7/langtools/test/tools/javac/api/6412656/
H A DT6412656.java46 task = tool.getTask(null, fm, null, null,
48 task.setProcessors(Collections.singleton(new MyProc(this)));
49 task.call();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/linux/
H A DLinuxDebuggerLocal.java113 WorkerThreadTask task; field in class:LinuxDebuggerLocal.LinuxDebuggerLocalWorkerThread
124 if (task != null) {
127 task.doit(debugger);
131 task = null;
142 public WorkerThreadTask execute(WorkerThreadTask task) throws DebuggerException { argument
144 this.task = task;
146 while (this.task != null) {
154 return task;
266 AttachTask task
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DDGCAckHandler.java82 private Future<?> task = null; field in class:DGCAckHandler
118 if (objList != null && task == null) {
119 task = scheduler.schedule(new Runnable() {
131 if (task != null) {
132 task.cancel(false);
133 task = null;
/openjdk7/jdk/test/java/util/Timer/
H A DNameConstructors.java47 TimerTask task = new TimerTask() {
53 timer.schedule(task, 0); // Immediate
/openjdk7/langtools/test/tools/javac/
H A DT6900149.java44 CompilationTask task = compiler.getTask(null, fm, diag,
46 if (! task.call()) {
H A DT6410706.java51 JavacTask task = tool.getTask(null, fm, dl, null, null, files);
52 task.parse();
53 task.analyze();
54 task.generate();
/openjdk7/langtools/test/tools/javac/api/6468404/
H A DT6468404.java61 task = tool.getTask(
64 task.setProcessors(Collections.singleton(new P()));
65 if (!task.call())
69 task = tool.getTask(
72 task.setProcessors(Collections.singleton(new P()));
73 if (!task.call())
76 task = tool.getTask(
80 if (!task.call())
84 task = tool.getTask(
87 task
[all...]
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.cpp201 void log_compile(JavaThread* thread, CompileTask* task) { argument
205 task->print_compilation(&sstr, NULL, true);
215 void log_failure(JavaThread* thread, CompileTask* task, const char* reason, const char* retry_message) { argument
217 lm.print("%4d COMPILE SKIPPED: %s", task->compile_id(), reason);
234 CompileTaskWrapper::CompileTaskWrapper(CompileTask* task) { argument
236 thread->set_task(task);
238 if (log != NULL) task->log_task_start(log);
243 CompileTask* task = thread->task(); local
245 if (log != NULL) task
595 add(CompileTask* task) argument
654 CompileTask* task = CompilationPolicy::policy()->select_task(this); local
659 remove(CompileTask* task) argument
685 CompileTask* task = _first; local
1095 CompileTask* task = NULL; local
1464 CompileTask* task = NULL; local
1481 free_task(CompileTask* task) argument
1493 wait_for_completion(CompileTask* task) argument
1574 CompileTask* task = queue->get(); local
1703 invoke_compiler_on_method(CompileTask* task) argument
2020 collect_statistics(CompilerThread* thread, elapsedTimer time, CompileTask* task) argument
[all...]
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DAsExecutor.java74 Attack task = new Attack();
75 executor.execute(task);
76 task.waitUntilDone();
77 if (!task.failedDueToSecurityException())
/openjdk7/langtools/test/tools/javac/6457284/
H A DT6457284.java53 JavacTaskImpl task = (JavacTaskImpl)compiler.getTask(null, null, null, null, null,
55 MyMessages.preRegister(task.getContext());
56 task.parse();
57 for (Element e : task.analyze()) {
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DCancellable.java32 * Base implementation of a task (typically native) that polls a memory location
34 * task is executed by invoking the {@link runInterruptibly} method defined
63 * task has been cancelled. If this method is not overridden then it
71 * "cancels" the task by writing bits into memory location that it polled
72 * by the task.
83 * Returns the exception thrown by the task or null if the task completed
109 * The task body. This should periodically poll the memory location
115 * Invokes the given task in its own thread. If this (meaning the current)
119 static void runInterruptibly(Cancellable task) throw argument
[all...]
/openjdk7/langtools/test/tools/javac/api/6431435/
H A DT6431435.java47 JavacTask task = tool.getTask(null, fm, null, null, null, files);
49 ok &= check("parse", task.parse(), 1); // A.java
50 ok &= check("analyze", task.analyze(), 3); // A, Foo, p.B
51 ok &= check("generate", task.generate(), 5); // A, Foo, Foo$Baz, Foo$1, p.B
/openjdk7/langtools/test/tools/javac/api/
H A DT6358786.java50 JavacTaskImpl task = (JavacTaskImpl)tool.getTask(null, fm, null, null, null, fm.getJavaFileObjectsFromFiles(Arrays.asList(file)));
51 Elements elements = task.getElements();
52 for (TypeElement clazz : task.enter(task.parse())) {
H A DTestResolveIdent.java49 JavacTaskImpl task = (JavacTaskImpl)tool.getTask(null, null, null, null, null, null);
50 JavaCompiler compiler = JavaCompiler.instance(task.getContext());
/openjdk7/langtools/test/tools/javac/api/guide/
H A DTest.java61 task = tool.getTask(null, fm, new DiagnosticTester(), null, null, compilationUnits);
62 if (!task.call())
71 task = tool.getTask(null, fm, diags, Collections.singleton("-Xlint:all"),
73 if (!task.call())
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/tasks/
H A DThreadService.java57 * Submit a task to be executed.
58 * Once a task is submitted, it is guaranteed that either
59 * {@link com.sun.jmx.snmp.tasks.Task#run() task.run()} or
60 * {@link com.sun.jmx.snmp.tasks.Task#cancel() task.cancel()} will be called.
63 * @param task The task to be executed.
64 * @exception IllegalArgumentException if the submitted task is null.
66 public void submitTask(Task task) throws IllegalArgumentException { argument
67 submitTask((Runnable)task);
71 * Submit a task t
77 submitTask(Runnable task) argument
93 removeTask(Runnable task) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLRenderQueue.java163 private Runnable task; field in class:OGLRenderQueue.QueueFlusher
192 public synchronized void flushAndInvokeNow(Runnable task) { argument
193 this.task = task;
232 // if there's a task, invoke that now as well
233 if (task != null) {
234 task.run();
245 task = null;
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DJavapTask.java114 abstract void process(JavapTask task, String opt, String arg) throws BadArgs; argument
123 void process(JavapTask task, String opt, String arg) {
124 task.options.help = true;
129 void process(JavapTask task, String opt, String arg) {
130 task.options.version = true;
135 void process(JavapTask task, String opt, String arg) {
136 task.options.fullVersion = true;
141 void process(JavapTask task, String opt, String arg) {
142 task.options.verbose = true;
143 task
[all...]
/openjdk7/langtools/test/tools/javac/processing/filer/
H A DTestGetResource2.java70 CompilationTask task = javac.getTask(null, null, null,
73 task.setProcessors(Collections.singleton(new AnnoProc()));
74 boolean result = task.call();
89 CompilationTask task = javac.getTask(null, null, null,
92 task.setProcessors(Collections.singleton(new AnnoProc()));
93 boolean result = task.call();
106 CompilationTask task = javac.getTask(null, null, null,
109 task.setProcessors(Collections.singleton(new AnnoProc()));
110 boolean result = task.call();
/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolderManager.java112 public <T> T invoke(Callable<T> task) throws Exception { argument
113 return task.call();
/openjdk7/hotspot/src/share/vm/runtime/
H A Dtask.hpp30 // A PeriodicTask has the sole purpose of executing its task
72 // Make the task active
73 // For dynamic enrollment at the time T, the task will execute somewhere
77 // Make the task deactive
86 task();
93 // execute this task.
95 assert(_interval > _counter, "task counter greater than interval?");
99 // Calculate when the next periodic task will fire.
103 // The task to perform at each period
104 virtual void task()
[all...]
/openjdk7/langtools/test/tools/javac/T6435291/
H A DT6435291.java40 JavacTaskImpl task = (JavacTaskImpl)tool.getTask(null, null, null, null, null, null);
41 JavaCompiler compiler = JavaCompiler.instance(task.getContext());
/openjdk7/langtools/test/tools/javac/api/6400303/
H A DT6400303.java43 JavacTaskImpl task = (JavacTaskImpl)tool.getTask(null, null, null, null, null, null);
44 JavaCompiler compiler = JavaCompiler.instance(task.getContext());

Completed in 76 milliseconds

123456789