Searched defs:threshold (Results 1 - 25 of 45) sorted by relevance

12

/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/soap/
H A DMTOMFeature.java55 * The {@link #threshold} property can be used to set the threshold
68 * Property for MTOM threshold value. This property serves as a hint when
73 protected int threshold = 0; field in class:MTOMFeature
98 * @param threshold the size in bytes that binary data SHOULD be before
101 * @throws WebServiceException if threshold is < 0
103 public MTOMFeature(int threshold) { argument
104 if (threshold < 0)
105 throw new WebServiceException("MTOMFeature.threshold must be >= 0, actual value: "+threshold);
119 MTOMFeature(boolean enabled, int threshold) argument
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DWeakIdentityMap.java48 private int threshold = 6; // the next size value at which to resize field in class:WeakIdentityMap
81 if (++this.size >= this.threshold) {
83 this.threshold = Integer.MAX_VALUE;
93 if (this.size >= this.threshold / 2) {
95 this.threshold *= 2;
/openjdk7/jdk/src/share/classes/java/lang/management/
H A DMemoryPoolMXBean.java99 * called the <i>usage threshold</i> which has a default value supplied
101 * The usage threshold can be set via the
103 * If the threshold is set to a positive value, the usage threshold crossing
105 * If the usage threshold is set to zero, usage
106 * threshold crossing checking on this memory pool is disabled.
110 * A Java virtual machine performs usage threshold crossing checking on a
114 * usage threshold count} that will get incremented
116 * detects that the memory pool usage is crossing the threshold.
118 * This manageable usage threshold attribut
498 setUsageThreshold(long threshold) argument
577 setCollectionUsageThreshold(long threshold) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/pool/
H A DConnectionDesc.java120 * @param threshold a connection that has been idle before this time
125 synchronized boolean expire(long threshold) { argument
126 if (state == IDLE && idleSince < threshold) {
H A DPool.java157 * have been idle before 'threshold'. An expired connection is closed
161 * @param threshold connections idle before 'threshold' should be closed
164 public void expire(long threshold) { argument
171 if (conns.expire(threshold)) {
H A DConnections.java288 * idle before threshold.
290 * @param threshold an entry idle since this time has expired.
293 synchronized boolean expire(long threshold) { argument
298 if (entry.expire(threshold)) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DSimpleHashtable.java49 * <LI> It's got fewer bells and whistles: fixed threshold and
72 private int threshold; field in class:SimpleHashtable
90 threshold = (int) (initialCapacity * loadFactor);
204 threshold = (int) (newCapacity * loadFactor);
210 + ", thresh=" + threshold
253 if (count >= threshold) {
254 // Rehash the table if the threshold is exceeded
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DGlyphCache.cpp158 jint threshold = glyph->height/3; local
160 cellInfo->leftOff = pixelsTouchedL < threshold ? 1 : 0;
161 cellInfo->rightOff = pixelsTouchedR < threshold ? -1 : 0;
/openjdk7/jdk/src/windows/native/sun/windows/
H A DHashtable.h75 * Rehashes the table when count exceeds this threshold.
77 int threshold; member in class:Hashtable
180 * size exceeds the threshold.
/openjdk7/jdk/test/javax/management/monitor/
H A DCounterMonitorTest.java28 * emits a notification every time the threshold is exceeded.
40 // threshold number
41 private Number threshold = new Integer(2); field in class:CounterMonitorTest
93 " has reached or exceeded the threshold");
151 counterMonitor.setInitThreshold(threshold);
152 echo("\tATTRIBUTE \"Threshold\" = " + threshold);
H A DCounterMonitorThresholdTest.java27 * @summary Wrong threshold value in CounterMonitor with offset and modulus.
98 int threshold[]) throws Exception {
159 if (thresholdValue.intValue() != threshold[i]) {
160 System.out.println("Wrong threshold! Current value = " +
161 thresholdValue + " Expected value = " + threshold[i]);
164 throw new IllegalArgumentException("wrong threshold");
95 runTest(int offset, int counter[], int derivedGauge[], int threshold[]) argument
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCache.java90 * Rehashes the table when count exceeds this threshold.
92 private int threshold; field in class:Cache
105 threshold = (int) (initialCapacity * loadFactor);
113 * the threshold for rehashing the Cache into
202 * size exceeds the threshold.
211 threshold = (int) (newCapacity * loadFactor);
215 // newCapacity + ", thresh=" + threshold + ", count=" + count);
261 if (count >= threshold) {
262 // Rehash the table if the threshold is exceeded
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/
H A DHashtable.java62 private int threshold; // current size of hash-tabke field in class:Hashtable
74 threshold = (int)(initialCapacity * loadFactor);
193 threshold = (int)(newCapacity * loadFactor);
233 // Rehash the table if the threshold is exceeded
234 if (count >= threshold) {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/
H A DIdentityHashtable.java67 * Rehashes the table when count exceeds this threshold.
69 private int threshold; field in class:IdentityHashtable
93 threshold = (int)(initialCapacity * loadFactor);
251 threshold = (int)(newCapacity * loadFactor);
254 //System.out.println("rehash old=" + oldCapacity + ", new=" + newCapacity + ", thresh=" + threshold + ", count=" + count);
303 if (count >= threshold) {
304 // Rehash the table if the threshold is exceeded
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DLongHashMap.java151 * The table is rehashed when its size exceeds this threshold. (The
156 int threshold; field in class:LongHashMap
194 threshold = (int)(initialCapacity * loadFactor);
334 if (size >= threshold) {
434 threshold = (int)(newCapacity * loadFactor);
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSurfaceDataProxy.java93 System.err.println("Error setting new threshold:" + e);
131 * trackers which count down an ever increasing threshold
134 * another "threshold" number of accesses before trying again.
137 return new CountdownTracker(threshold);
143 public CountdownTracker(int threshold) { argument
144 this.countdown = threshold;
198 private int threshold; field in class:SurfaceDataProxy
204 * to threshold and set the cacheTracker to one that is non-current.
239 * the default threshold number of attempts to copy from the
249 * the specified threshold numbe
252 SurfaceDataProxy(int threshold) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/
H A DProgressSource.java54 // threshold for notification
55 private int threshold = 8192; field in class:ProgressSource
78 this.threshold = progressMonitor.getProgressUpdateThreshold();
171 // The threshold effectively divides the progress into
174 // Range 0: 0..threshold-1,
175 // Range 1: threshold .. 2*threshold-1
177 // Range n: n*threshold .. (n+1)*threshold-1
182 // range number = progress / threshold
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DThreadLocal.java300 private int threshold; // Default to 0 field in class:ThreadLocal.ThreadLocalMap
303 * Set the resize threshold to maintain at worst a 2/3 load factor.
306 threshold = len * 2 / 3;
445 if (!cleanSomeSlots(i, sz) && sz >= threshold)
635 // Use lower threshold for doubling to avoid hysteresis
636 if (size >= threshold - threshold / 4)
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapPoolManager.java362 * @param threshold Close connections idle since this time, as
366 public static void expire(long threshold) { argument
369 pools[i].expire(threshold);
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DLinkedHashMap.java113 * Rehashes the table when count exceeds this threshold.
115 private int threshold; field in class:LinkedHashMap
152 threshold = (int)(initialCapacity * loadFactor);
293 threshold = (int)(newCapacity * loadFactor);
384 if (count >= threshold) {
385 // Rehash the table if the threshold is exceeded
862 // Write out the threshold, loadfactor, and any hidden stuff
884 // Read in the threshold, loadfactor, and any hidden stuff
/openjdk7/hotspot/src/cpu/sparc/vm/
H A Dc1_MacroAssembler_sparc.cpp270 const int threshold = 5 * HeapWordSize; // approximate break even point for code size local
277 } else if (VM_Version::v9_instructions_work() && con_size_in_bytes < threshold * 2) {
283 } else if (con_size_in_bytes <= threshold) {
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_MacroAssembler_x86.cpp256 const int threshold = 6 * BytesPerWord; // approximate break even point for code size (see comments below) local
260 } else if (con_size_in_bytes <= threshold) {
/openjdk7/hotspot/test/compiler/6865031/
H A DTest.java168 protected int threshold; field in class:WeakPool
175 threshold = DEFAULT_INITIAL_CAPACITY;
346 if (++size >= threshold)
358 * number of keys in this map reaches its threshold.
361 * resize the map, but but sets threshold to Integer.MAX_VALUE.
375 threshold = Integer.MAX_VALUE;
388 if (size >= threshold / 2)
390 threshold = (int) (newCapacity * loadFactor);
485 threshold = DEFAULT_INITIAL_CAPACITY;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/
H A DQNameMap.java76 private int threshold; field in class:QNameMap
91 threshold = (int)(DEFAULT_INITIAL_CAPACITY * DEFAULT_LOAD_FACTOR);
179 if (numKeysToBeAdded > threshold) {
226 if (size++ >= threshold)
234 * number of keys in this map reaches its threshold.
240 threshold = Integer.MAX_VALUE;
247 threshold = newCapacity;
/openjdk7/jdk/src/share/classes/java/util/
H A DHashtable.java140 * The table is rehashed when its size exceeds this threshold. (The
145 private int threshold; field in class:Hashtable
167 * The default threshold of map capacity above which alternative hashing is
172 * {@code jdk.map.althashing.threshold}. A property value of {@code 1}
191 "jdk.map.althashing.threshold"));
193 int threshold;
195 threshold = (null != altThreshold)
200 if (threshold == -1) {
201 threshold = Integer.MAX_VALUE;
204 if (threshold <
[all...]

Completed in 89 milliseconds

12