Home
last modified time | relevance | path

Searched refs:vc (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DSoftCache.java137 ValueCell vc = (ValueCell)val; in strip()
138 Object o = vc.get(); in strip()
139 if (drop) vc.drop(); in strip()
169 ValueCell vc; in processQueue() local
170 while ((vc = (ValueCell)queue.poll()) != null) { in processQueue()
171 if (vc.isValid()) hash.remove(vc.key); in processQueue()
314 ValueCell vc = ValueCell.create(key, value, queue); in put() local
315 return ValueCell.strip(hash.put(key, vc), true); in put()
403 ValueCell vc = (ValueCell)ent.getValue(); in iterator() local
405 if ((vc != null) && ((v = vc.get()) == null)) { in iterator()
/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java36 Vector<Connection> vc = new Vector<Connection>(); field in StressTest
48 vc.clear(); in setUp()
113 maxConnections, vc.size()); in testManyConnectionsUsingOneThread()
134 assertEquals("Unable to create a connection", numTasks, vc.size()); in testManyConnectionsUsingManyThreads()
166 for (int i = 0; i < vc.size(); ++i) { in testInsertOfManyRowsUsingOneThread()
169 Connection c = vc.elementAt(i); in testInsertOfManyRowsUsingOneThread()
207 assertEquals("Unable to create a connection", numConnections, vc.size()); in testInsertOfManyRowsUsingManyThreads()
252 vc.add(c); in openConnections()
263 for (; i < vc.size(); ++i) { in closeConnections()
264 vc.elementAt(i).close(); in closeConnections()
[all …]