Searched refs:sync (Results 76 - 100 of 101) sorted by relevance

12345

/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/
H A DLWCToolkit.java407 public void sync() { method in class:LWCToolkit
409 OGLRenderQueue.sync();
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DRobot.java500 // need to sync the toolkit prior to grabbing the pixels since in some
502 Toolkit.getDefaultToolkit().sync();
H A DToolkit.java354 public abstract void sync(); method in class:Toolkit
/openjdk10/jdk/test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/
H A DSourceClippingBlitTest.java207 Toolkit.getDefaultToolkit().sync();
/openjdk10/jdk/src/java.desktop/share/native/common/java2d/opengl/
H A DOGLRenderQueue.c73 jboolean sync = JNI_FALSE; local
532 sync = JNI_TRUE;
706 if (sync) {
/openjdk10/jdk/src/java.desktop/windows/classes/sun/awt/windows/
H A DWToolkit.java654 public void sync() { method in class:WToolkit
658 OGLRenderQueue.sync();
660 D3DRenderQueue.sync();
/openjdk10/jdk/test/java/awt/Focus/NonFocusableWindowTest/
H A DNoEventsTest.java50 Toolkit.getDefaultToolkit().sync();
/openjdk10/jdk/test/sun/java2d/OpenGL/
H A DDrawBufImgOp.java202 Toolkit.getDefaultToolkit().sync();
/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/locks/
H A DAbstractQueuedSynchronizer.java240 * // The sync object does all the hard work. We just forward to it.
241 * private final Sync sync = new Sync();
243 * public void lock() { sync.acquire(1); }
244 * public boolean tryLock() { return sync.tryAcquire(1); }
245 * public void unlock() { sync.release(1); }
246 * public Condition newCondition() { return sync.newCondition(); }
247 * public boolean isLocked() { return sync.isHeldExclusively(); }
248 * public boolean hasQueuedThreads() { return sync.hasQueuedThreads(); }
250 * sync.acquireInterruptibly(1);
254 * return sync
2214 isOwnedBy(AbstractQueuedSynchronizer sync) argument
[all...]
H A DAbstractQueuedLongSynchronizer.java70 To keep sources in sync, the remainder of this source file is
72 name and changing ints related with sync state to longs. Please
1182 * a condition queue, is now waiting to reacquire on sync queue.
1203 * Returns true if node is on sync queue by searching backwards from tail.
1221 * Transfers a node from a condition queue onto sync queue.
1248 * Transfers node, if necessary, to sync queue after a cancelled wait.
1274 * @return previous sync state
1748 final boolean isOwnedBy(AbstractQueuedLongSynchronizer sync) { argument
1749 return sync == AbstractQueuedLongSynchronizer.this;
/openjdk10/hotspot/src/cpu/ppc/vm/
H A DmacroAssembler_ppc.inline.hpp76 if (bits & StoreLoad) { sync(); }
H A Dassembler_ppc.cpp721 sync();
H A Dassembler_ppc.inline.hpp590 inline void Assembler::sync(int a) { emit_int32( SYNC_OPCODE | l910(a)); }
591 inline void Assembler::sync() { Assembler::sync(0); }
592 inline void Assembler::lwsync() { Assembler::sync(1); }
593 inline void Assembler::ptesync() { Assembler::sync(2); }
H A DsharedRuntime_ppc.cpp2029 // to make from here on out (sync slow path, jvmti, etc.) we will have
2309 // - VM thread changes sync state to synchronizing and suspends threads
2328 Label no_block, sync; local
2363 __ bne(CCR0, sync);
2370 __ bind(sync);
H A Dassembler_ppc.hpp1780 // - sync two-way memory barrier, aka fence
1807 // - fence orders Store|Store, (maps to sync)
1813 inline void sync(int l);
1815 inline void sync();
H A Dc1_LIRAssembler_ppc.cpp106 // in the interpreter frame (the method lock if a sync method).
2663 __ sync();
/openjdk10/jdk/src/java.prefs/share/classes/java/util/prefs/
H A DAbstractPreferences.java75 * {@link Preferences#sync()}. Generally speaking, these SPI methods should not
81 * {@code flush()} or {@code sync} would not imply that all previous
1352 * Implements the {@code sync} method as per the specification in
1353 * {@link Preferences#sync()}.
1371 public void sync() throws BackingStoreException { method in class:AbstractPreferences
1398 * sync(), rather than merely overriding this method.
1401 * will propagate out beyond the enclosing {@link #sync()} invocation.
/openjdk10/jdk/test/sun/java2d/SunGraphics2D/
H A DPolyVertTest.java638 Toolkit.getDefaultToolkit().sync();
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DRealTimeSequencer.java546 public void setMasterSyncMode(Sequencer.SyncMode sync) { argument
563 public void setSlaveSyncMode(Sequencer.SyncMode sync) { argument
/openjdk10/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp671 Monitor* sync = osthread->startThread_lock(); local
698 MutexLockerEx ml(sync, Mutex::_no_safepoint_check_flag);
702 sync->notify_all();
706 sync->wait(Mutex::_no_safepoint_check_flag);
/openjdk10/jdk/src/java.prefs/windows/classes/java/util/prefs/
H A DWindowsPreferences.java866 * Implements {@code Preferences} {@code sync()} method.
870 public void sync() throws BackingStoreException{ method in class:WindowsPreferences
/openjdk10/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/
H A DZipFileSystem.java264 beginWrite(); // lock and sync
267 sync(); return null;
270 } catch (PrivilegedActionException e) { // and sync dose not close the ch
1110 ////////////////////update & sync //////////////////////////////////////
1193 // sync the zip file system, if there is any udpate
1194 private void sync() throws IOException { method in class:ZipFileSystem
1195 //System.out.printf("->sync(%s) starting....!%n", toString());
1290 // sync when being closed, all streams should have been
1455 // point to a new channel after sync()
1574 if (e.type != Entry.FILECH) // only from sync
[all...]
/openjdk10/hotspot/src/os/linux/vm/
H A Dos_linux.cpp632 Monitor* sync = osthread->startThread_lock(); local
653 MutexLockerEx ml(sync, Mutex::_no_safepoint_check_flag);
657 sync->notify_all();
661 sync->wait(Mutex::_no_safepoint_check_flag);
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/
H A DSunToolkit.java1450 * default, sync tries to perform as much as {@value #MAX_ITERS}
1469 // Let's do sync first
1470 sync();
1517 * sync of the native queue. The method should wait until native
/openjdk10/hotspot/src/cpu/s390/vm/
H A DsharedRuntime_s390.cpp1679 // 5| lock box (if sync) |
1835 // to make from here on out (sync slow path, jvmti, etc.) we will have
2109 // - VM thread changes sync state to synchronizing and suspends threads for GC.
2125 Label no_block, sync; local
2141 __ generate_safepoint_check(sync, Z_R1, true);
2151 __ bind(sync);

Completed in 348 milliseconds

12345