/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | Semaphore.java | 164 private final Sync sync; field in class:Semaphore 270 sync = new NonfairSync(permits); 285 sync = fair ? new FairSync(permits) : new NonfairSync(permits); 317 sync.acquireSharedInterruptibly(1); 340 sync.acquireShared(1); 368 return sync.nonfairTryAcquireShared(1) >= 0; 414 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); 431 sync.releaseShared(1); 472 sync.acquireSharedInterruptibly(permits); 500 sync [all...] |
H A D | CountDownLatch.java | 194 private final Sync sync; field in class:CountDownLatch 205 this.sync = new Sync(count); 236 sync.acquireSharedInterruptibly(1); 282 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); 296 sync.releaseShared(1); 307 return sync.getCount(); 318 return super.toString() + "[Count = " + sync.getCount() + "]";
|
/openjdk7/jdk/test/java/beans/Introspector/ |
H A D | Test6963811.java | 36 private final boolean sync; field in class:Test6963811 38 public Test6963811(long time, boolean sync) { argument 40 this.sync = sync; 47 this.sync ? Super.class : Sub.class, 48 this.sync ? null : Object.class);
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | ReentrantLock.java | 112 private final Sync sync; field in class:ReentrantLock 262 sync = new NonfairSync(); 272 sync = fair ? new FairSync() : new NonfairSync(); 290 sync.lock(); 340 sync.acquireInterruptibly(1); 370 return sync.nonfairTryAcquire(1); 445 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); 460 sync.release(1); 503 return sync.newCondition(); 537 return sync [all...] |
H A D | ReentrantReadWriteLock.java | 226 final Sync sync; field in class:ReentrantReadWriteLock 243 sync = fair ? new FairSync() : new NonfairSync(); 708 private final Sync sync; field in class:ReentrantReadWriteLock.ReadLock 717 sync = lock.sync; 731 sync.acquireShared(1); 776 sync.acquireSharedInterruptibly(1); 803 return sync.tryReadLock(); 873 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); 883 sync 915 private final Sync sync; field in class:ReentrantReadWriteLock.WriteLock [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/concurrent/ |
H A D | SyncUtil.java | 37 public static void acquire( Sync sync ) 42 sync.acquire() ;
|
/openjdk7/jdk/test/java/beans/PropertyEditor/ |
H A D | Test6963811.java | 38 private final boolean sync; field in class:Test6963811 40 public Test6963811(long time, boolean sync) { argument 42 this.sync = sync; 48 if (this.sync) {
|
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | Test6963811.java | 37 private final boolean sync; field in class:Test6963811 39 public Test6963811(long time, boolean sync) { argument 41 this.sync = sync; 47 if (this.sync) {
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | LabelView.java | 54 final void sync() { method in class:LabelView 169 sync(); 184 sync(); 197 sync(); 208 sync(); 228 sync(); 249 sync(); 268 sync(); 286 sync();
|
H A D | GlyphPainter1.java | 59 sync(v); 69 sync(v); 78 sync(v); 87 sync(v); 95 sync(v); 127 sync(v); 169 sync(v); 209 sync(v); 221 void sync(GlyphView v) { method in class:GlyphPainter1
|
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | InterruptHangTest.java | 23 public static String sync = "sync"; field in class:InterruptHangTarg 29 synchronized(sync) { 32 sync.wait(); 62 synchronized(InterruptHangTarg.sync) { 63 InterruptHangTarg.sync.notify(); 87 String sync = "sync"; field in class:InterruptHangTest 101 synchronized(sync) { 134 synchronized(sync) { [all...] |
/openjdk7/jdk/test/java/awt/print/PaintSetEnabledDeadlock/ |
H A D | PaintSetEnabledDeadlock.java | 85 panel.sync(); 98 final Object sync = new Object(); field in class:TestPanel 107 sync(); 135 synchronized (sync) { 136 sync.wait(); 149 sync(); 175 public void sync() { method in class:TestPanel 176 synchronized (sync) { 177 sync.notify();
|
/openjdk7/hotspot/src/share/vm/asm/ |
H A D | assembler.inline.hpp | 33 inline void AbstractAssembler::sync() { function in class:AbstractAssembler 43 sync(); 50 sync(); 57 sync(); 63 sync();
|
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | MyOwnSynchronizer.java | 135 // The sync object does all the hard work. We just forward to it. 136 private final Sync sync = new Sync(); field in class:MyOwnSynchronizer.Mutex 138 public void lock() { sync.acquire(1); } 139 public boolean tryLock() { return sync.tryAcquire(1); } 140 public void unlock() { sync.release(1); } 141 public Condition newCondition() { return sync.newCondition(); } 142 public boolean isLocked() { return sync.isHeldExclusively(); } 143 public boolean hasQueuedThreads() { return sync.hasQueuedThreads(); } 145 sync.acquireInterruptibly(1); 148 return sync [all...] |
/openjdk7/jdk/test/java/util/concurrent/locks/Lock/ |
H A D | FlakyMutex.java | 121 private final FlakySync sync = new FlakySync(); field in class:FlakyMutex 122 public void lock() { sync.acquire(1); } 123 public boolean tryLock() { return sync.tryAcquire(1); } 125 sync.acquireInterruptibly(1); 128 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); 130 public void unlock() { sync.release(1); } 131 public Condition newCondition() { return sync.newCondition(); } 132 public boolean isLocked() { return sync.isHeldExclusively(); } 133 public boolean hasQueuedThreads() { return sync.hasQueuedThreads(); }
|
/openjdk7/jdk/test/java/lang/management/ManagementFactory/ |
H A D | ThreadMXBeanProxy.java | 221 // The sync object does all the hard work. We just forward to it. 222 private final Sync sync = new Sync(); field in class:ThreadMXBeanProxy.Mutex 224 public void lock() { sync.acquire(1); } 225 public boolean tryLock() { return sync.tryAcquire(1); } 226 public void unlock() { sync.release(1); } 227 public Condition newCondition() { return sync.newCondition(); } 228 public boolean isLocked() { return sync.isHeldExclusively(); } 229 public boolean hasQueuedThreads() { return sync.hasQueuedThreads(); } 231 sync.acquireInterruptibly(1); 234 return sync [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/ |
H A D | AsyncMethodHandler.java | 64 AsyncMethodHandler(SEIStub owner, JavaMethodImpl jm, JavaMethodImpl sync) { argument 65 super(owner, sync); 67 List<ParameterImpl> rp = sync.getResponseParameters(); 73 if (sync.getBinding().getStyle() == Style.DOCUMENT) { 89 if (sync.getBinding().getStyle() == Style.DOCUMENT) { 115 responseBuilder = buildResponseBuilder(sync, ValueSetterFactory.NONE); 118 responseBuilder = buildResponseBuilder(sync, ValueSetterFactory.SINGLE); 121 responseBuilder = buildResponseBuilder(sync, new ValueSetterFactory.AsyncBeanValueSetterFactory(asyncBeanClass));
|
/openjdk7/hotspot/src/cpu/zero/vm/ |
H A D | assembler_zero.cpp | 70 sync();
|
/openjdk7/jdk/src/solaris/classes/java/io/ |
H A D | FileDescriptor.java | 113 * system, sync will not return until all in-memory modified copies 117 * sync is meant to be used by code that requires physical 120 * might use sync to ensure that all changes to a file caused 123 * sync only affects buffers downstream of this FileDescriptor. If 127 * OutputStream.flush) before that data will be affected by sync. 135 public native void sync() throws SyncFailedException; method in class:FileDescriptor
|
/openjdk7/jdk/src/share/classes/javax/sound/midi/ |
H A D | Sequencer.java | 375 * <code>sync</code>. The <code>sync</code> argument must be one 379 * @param sync the desired master synchronization mode 386 public void setMasterSyncMode(SyncMode sync); argument 418 * to its receiver. The <code>sync</code> argument must be one 422 * @param sync the desired slave synchronization mode 429 public void setSlaveSyncMode(SyncMode sync); argument 826 * a legal slave sync mode. 834 * messages. If this mode is used as the master sync mode, 836 * MIDI clock messages. This mode only applies as the master sync [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/ |
H A D | Test.java | 130 env.sync(); 133 env.sync(); 148 // reps per cycle and throwing sync() calls in to make sure 160 // sync() each time in case batching at a lower level is 162 env.sync(); 167 env.sync(); 182 env.sync();
|
H A D | TestEnvironment.java | 205 public void sync() { method in class:TestEnvironment 207 Toolkit.getDefaultToolkit().sync(); 209 comp.getToolkit().sync(); 215 sync(); 219 sync();
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DebugGraphics.java | 354 Toolkit.getDefaultToolkit().sync(); 388 Toolkit.getDefaultToolkit().sync(); 422 Toolkit.getDefaultToolkit().sync(); 460 Toolkit.getDefaultToolkit().sync(); 498 Toolkit.getDefaultToolkit().sync(); 532 Toolkit.getDefaultToolkit().sync(); 567 Toolkit.getDefaultToolkit().sync(); 602 Toolkit.getDefaultToolkit().sync(); 635 Toolkit.getDefaultToolkit().sync(); 668 Toolkit.getDefaultToolkit().sync(); [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | stack.hpp | 190 StackIterator(Stack<E, F>& stack): _stack(stack) { sync(); } 199 void sync(); // Sync the iterator's state to the stack's current state.
|
/openjdk7/jdk/test/java/rmi/activation/log/ |
H A D | LogTest.java | 86 System.err.println("crash during next update on sync #" + 181 protected void sync() throws IOException { method in class:LogTest.MyLogFile 187 super.sync();
|