Searched defs:instances (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/
H A DRing.java68 private static final ThreadLocal<Ring> instances = new ThreadLocal<Ring>(); field in class:Ring
110 return instances.get();
118 synchronized (instances) {
119 r = instances.get();
120 instances.set(new Ring());
129 synchronized (instances) {
130 instances.remove();
131 instances.set(old);
/openjdk7/jdk/test/javax/management/ObjectInstance/
H A DMBeanInfoFailTest.java68 public static void printInstances(Set instances) { argument
69 for (Iterator it1 = instances.iterator(); it1.hasNext();) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/http/server/
H A DServerMgr.java114 int instances = state.noOfContexts();
115 if (instances < 2) {
128 private int instances; field in class:ServerMgr.ServerState
132 this.instances = 1;
140 ++instances;
144 --instances;
148 return instances;
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/
H A DMessageDigestAlgorithm.java74 static ThreadLocal instances=new ThreadLocal() { field in class:MessageDigestAlgorithm
95 MessageDigest result=(MessageDigest) ((Map)instances.get()).get(algorithmURI);
124 ((Map)instances.get()).put(algorithmURI, md);
/openjdk7/jdk/src/share/classes/com/sun/jdi/
H A DReferenceType.java320 * or its instances with its simple name is included. Fields that
692 * Returns instances of this ReferenceType.
693 * Only instances that are reachable for the purposes of garbage collection
703 * @param maxInstances the maximum number of instances to return.
704 * Must be non-negative. If zero, all instances are returned.
706 * no instances of this ReferenceType, a zero-length list is returned.
716 List<ObjectReference> instances(long maxInstances); method in interface:ReferenceType
/openjdk7/jdk/src/share/back/
H A DReferenceTypeImpl.c231 instances(PacketInputStream *in, PacketOutputStream *out) function
263 * They are all instances of this class and will all have
624 ,(void *)instances
H A Dutil.c2404 /* Structure to hold class instances heap iteration data (arg user_data) */
2444 /* Get instances for one class */
2446 classInstances(jclass klass, ObjectBatch *instances, int maxInstances) argument
2459 if ( maxInstances < 0 || instances == NULL) {
2464 instances->count = 0;
2465 instances->objects = NULL;
2492 /* Get all the instances now that they are tagged */
2495 (jvmti, 1, &(data.objTag), &(instances->count),
2496 &(instances->objects), NULL);
2498 if ( data.instCount != instances
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DCurrency.java102 private static HashMap<String, Currency> instances = new HashMap<String, Currency>(7); field in class:Currency
289 synchronized (instances) {
290 // Try to look up the currency code in the instances table.
293 Currency instance = instances.get(currencyCode);
328 instances.put(currencyCode, instance);
590 * Resolves instances being deserialized to a single instance per currency.
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DJavaClass.java67 // my instances
68 private Vector<JavaHeapObject> instances = new Vector<JavaHeapObject>(); field in class:JavaClass
138 * all instances are available (like when reading deferred
139 * instances in a 1.2 dump file :-) Calling this is sufficient
234 Enumeration res = instances.elements();
241 return instances.elements();
246 * @return a count of the instances of this class
249 int result = instances.size();
384 * @return The size of all instances of this class. Correctly handles
388 int count = instances
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DReferenceTypeImpl.java735 public List instances(long maxInstances) { method in class:ReferenceTypeImpl
738 "target does not support getting instances");
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DReferenceTypeImpl.java914 public List<ObjectReference> instances(long maxInstances) { method in class:ReferenceTypeImpl
917 "target does not support getting instances");
931 process(vm, this, intMax).instances);
/openjdk7/jdk/src/windows/native/com/sun/management/
H A DOperatingSystem_md.c482 char *instances, *tmp; local
523 instances = calloc(i_size, 1);
524 if (instances == NULL) {
537 instances, // required size
547 //count perf count instances.
548 for (p_count = 0, tmp = instances; *tmp != 0; tmp = &tmp[lstrlen(tmp)+1], p_count++);
569 for (i = 0, tmp = instances; *tmp != '\0'; tmp = &tmp[lstrlen(tmp)+1], i++) {
581 free(instances);
582 instances = NULL;
590 if (instances !
640 char *instances, *tmp, *instance_name, *dot_pos; local
[all...]

Completed in 89 milliseconds