Searched defs:pool (Results 51 - 75 of 97) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DSessionManager.java40 * back to the pool, or force it to be closed.
82 // pool of available object sessions
85 // pool of available operation sessions
195 // will be added to correct pool on release, nothing to do now
230 private final List<Session> pool; field in class:SessionManager.Pool
234 pool = new ArrayList<Session>();
238 return pool.remove(session);
242 int n = pool.size();
246 Session session = pool.remove(n - 1);
251 pool
[all...]
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DSeedGenerator.java240 private byte[] pool; field in class:SeedGenerator.ThreadedSeedGenerator
253 pool = new byte[20];
295 while (count >= pool.length)
336 pool[end] = v;
339 if (end >= pool.length)
375 b = pool[start];
376 pool[start] = 0;
379 if (start == pool.length)
/openjdk7/jdk/test/java/util/concurrent/ConcurrentQueues/
H A DConcurrentQueueLoops.java46 ExecutorService pool; field in class:ConcurrentQueueLoops
87 pool = Executors.newCachedThreadPool();
101 pool.shutdown();
102 check(pool.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS));
154 results.add(pool.submit(new Stage(q, barrier, items)));
/openjdk7/jdk/test/java/util/concurrent/forkjoin/
H A DIntegrate.java133 static double computeArea(ForkJoinPool pool, double l, double r) { argument
135 pool.invoke(q);
174 static double computeArea(ForkJoinPool pool, double l, double r) { argument
176 pool.invoke(q);
221 static double computeArea(ForkJoinPool pool, double l, double r) { argument
223 pool.invoke(q);
/openjdk7/jdk/test/javax/xml/crypto/dsig/
H A DKeySelectors.java227 Vector<X509Certificate> pool) {
229 for (int j=0; j < pool.size(); j++) {
230 X509Certificate c = pool.get(j);
226 match(int matchType, Object value, Vector<X509Certificate> pool) argument
/openjdk7/jdk/src/share/classes/sun/misc/
H A DTimer.java529 timer owner's tick() method. A small fixed-sized pool of threads is
530 maintained and is protected by the class monitor. If the pool is
534 A thread that's in the pool waits on it's own monitor. When the
535 thread is retrieved from the pool, the retriever notifies the thread's
542 * Maximum size of the thread pool.
547 * Number of threads in the pool.
552 * The pool of timer threads.
554 static TimerTickThread pool = null; field in class:TimerTickThread
557 * Is used when linked into the thread pool.
577 * tick() method. A thread is taken from the pool i
[all...]
/openjdk7/jdk/src/share/classes/sun/net/spi/
H A DDefaultProxySelector.java123 NonProxyInfo(String p, String s, RegexpPool pool, String d) { argument
126 hostsPool = pool;
261 RegexpPool pool = new RegexpPool();
265 pool.add(st.nextToken().toLowerCase(), Boolean.TRUE);
269 nprop.hostsPool = pool;
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSimpleAsynchronousFileChannelImpl.java44 // lazy initialization of default thread pool for file I/O
68 ThreadPool pool)
70 // Executor is either default or based on pool parameters
71 ExecutorService executor = (pool == null) ?
72 DefaultExecutorHolder.defaultExecutor : pool.executor();
65 open(FileDescriptor fdo, boolean reading, boolean writing, ThreadPool pool) argument
H A DAsynchronousChannelGroupImpl.java50 // thread pool. Internal threads do not dispatch to completion handlers.
54 // associated thread pool
55 private final ThreadPool pool; field in class:AsynchronousChannelGroupImpl
63 // task queue for when using a fixed thread pool. In that case, thread
73 ThreadPool pool)
76 this.pool = pool;
78 if (pool.isFixedThreadPool()) {
92 return pool.executor();
96 return pool
72 AsynchronousChannelGroupImpl(AsynchronousChannelProvider provider, ThreadPool pool) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DEPollPort.java83 EPollPort(AsynchronousChannelProvider provider, ThreadPool pool) argument
86 super(provider, pool);
H A DKQueuePort.java80 KQueuePort(AsynchronousChannelProvider provider, ThreadPool pool) argument
83 super(provider, pool);
H A DSolarisEventPort.java72 SolarisEventPort(AsynchronousChannelProvider provider, ThreadPool pool) argument
75 super(provider, pool);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixChannelFactory.java158 ThreadPool pool)
174 return SimpleAsynchronousFileChannelImpl.open(fdObj, flags.read, flags.write, pool);
155 newAsynchronousFileChannel(UnixPath path, Set<? extends OpenOption> options, int mode, ThreadPool pool) argument
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DForkJoinWorkerThread.java174 * Mask for pool indices encoded as shorts
201 * The pool this thread works in. Accessed directly by ForkJoinTask.
203 final ForkJoinPool pool; field in class:ForkJoinWorkerThread
230 * Index of this worker in pool array. Set once by pool before
231 * running, and accessed directly by pool to locate this worker in
237 * Encoded record for pool task waits. Usages are always
255 * Number of steals. Directly accessed (and reset) by pool when
291 * Creates a ForkJoinWorkerThread operating in the given pool.
293 * @param pool th
296 ForkJoinWorkerThread(ForkJoinPool pool) argument
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DconstantPoolKlass.cpp62 constantPoolHandle pool; local
67 pool = constantPoolHandle(THREAD, c);
70 pool->set_length(length);
71 pool->set_tags(NULL);
72 pool->set_cache(NULL);
73 pool->set_operands(NULL);
74 pool->set_pool_holder(NULL);
75 pool->set_flags(0);
76 // only set to non-zero if constant pool is merged by RedefineClasses
77 pool
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A DlowMemoryDetector.hpp36 // When the VM detects if the memory usage of a memory pool has reached
38 // of the memory pool (heap or nonheap or both).
43 // that memory pool. The threshold can be set to any non-negative
231 static void detect_low_memory(MemoryPool* pool);
232 static void detect_after_gc_memory(MemoryPool* pool);
234 static bool is_enabled(MemoryPool* pool) { argument
236 // iff one of the collected memory pool has a sensor and the
238 if (pool->usage_sensor() == NULL) {
241 ThresholdSupport* threshold_support = pool->usage_threshold();
264 MemoryPool* pool local
[all...]
H A DmemoryPool.hpp37 // A memory pool represents the memory area that the VM manages.
38 // The Java virtual machine has at least one memory pool
40 // A memory pool can belong to the heap or the non-heap memory.
104 bool is_pool(instanceHandle pool) { return (pool() == _memory_pool_obj); } argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/
H A DXMLStreamReaderFactory.java218 private final ThreadLocal<XMLStreamReader> pool = new ThreadLocal<XMLStreamReader>(); field in class:XMLStreamReaderFactory.Zephyr
272 * Fetchs an instance from the pool if available, otherwise null.
275 XMLStreamReader sr = pool.get();
277 pool.set(null);
283 pool.set(r);
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DIocp.java68 Iocp(AsynchronousChannelProvider provider, ThreadPool pool) argument
71 super(provider, pool);
H A DWindowsAsynchronousFileChannelImpl.java101 ThreadPool pool)
106 if (pool == null) {
110 iocp = new Iocp(null, pool).start();
98 open(FileDescriptor fdo, boolean reading, boolean writing, ThreadPool pool) argument
/openjdk7/jdk/test/java/lang/management/MemoryMXBean/
H A DCollectionUsageThreshold.java64 private MemoryPoolMXBean pool; field in class:CollectionUsageThreshold.PoolRecord
68 this.pool = p;
77 return pool;
/openjdk7/jdk/src/share/classes/sun/management/
H A DMemoryPoolImpl.java39 * Implementation class for a memory pool.
288 * usage of a memory pool is crossing the usage threshold.
293 MemoryPoolImpl pool; field in class:MemoryPoolImpl.PoolSensor
295 PoolSensor(MemoryPoolImpl pool, String name) { argument
297 this.pool = pool;
302 pool.getName(),
317 * when the memory usage of a memory pool after GC is crossing
323 MemoryPoolImpl pool; field in class:MemoryPoolImpl.CollectionSensor
324 CollectionSensor(MemoryPoolImpl pool, Strin argument
[all...]
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/
H A DJvmMemPoolEntryImpl.java90 MemoryUsage u = pool.getUsage();
99 return pool.getUsage();
123 MemoryUsage u = pool.getPeakUsage();
156 MemoryUsage u = pool.getCollectionUsage();
176 final MemoryPoolMXBean pool; field in class:JvmMemPoolEntryImpl
182 this.pool=mp;
283 if (!pool.isUsageThresholdSupported())
285 final long val = pool.getUsageThreshold();
300 pool.setUsageThreshold(val);
310 if (!pool
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DFlowView.java39 * layout pool from which a physical view is formed.
443 View pool = getLogicalView(fv);
465 reparentViews(pool, p0);
639 void reparentViews(View pool, int startPos) { argument
640 int n = pool.getViewIndex(startPos, Position.Bias.Forward);
642 for (int i = n; i < pool.getViewCount(); i++) {
643 pool.getView(i).setParent(pool);
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DResourceManager.cpp258 D3DPOOL pool; local
288 pool = D3DPOOL_DEFAULT;
294 pool = D3DPOOL_DEFAULT;
296 pool = pCtx->IsHWRasterizer() ?
318 format, pool, &pTexture, 0);
402 // SYSTEMMEM pool (otherwise UpdateSurface() will fail)
409 D3DPOOL pool = D3DPOOL_SYSTEMMEM; local
413 format, pool,

Completed in 427 milliseconds

1234