Searched refs:threshold (Results 1 - 25 of 68) sorted by relevance

123

/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...]
H A DMTOM.java70 * Property for MTOM threshold value. When MTOM is enabled, binary data above this
74 int threshold() default 0;
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/
H A Dmemmonitor.js42 function memoryChecker(memoryBean, threshold, interval) {
47 if (usage > threshold) {
48 alert("Hey! heap usage threshold exceeded!");
61 // show threshold box with default of 50 MB
62 var threshold = prompt("Threshold (mb)", 50);
69 memoryChecker.future(memoryBean, threshold, interval);
/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 DPoolCleaner.java49 long threshold;
58 // Connections idle since threshold have expired
59 threshold = System.currentTimeMillis() - period;
62 pools[i].expire(threshold);
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) {
/openjdk7/jdk/test/java/lang/management/MemoryPoolMXBean/
H A DThresholdTest.java68 long threshold = p.getUsageThreshold();
69 if (threshold != 0) {
70 // Expect the default threshold is zero (disabled)
73 " has non-zero threshold (" + threshold);
76 // isUsageThresholdExceeded() should return false if threshold == 0
81 " but threshold = 0");
91 " threshold(" + p.getUsageThreshold() +
99 " threshold(" + p.getUsageThreshold() +
110 " isUsageThresholdExceeded() returned true but threshold
[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/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/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/test/java/awt/image/ImagingOpsNoExceptionsTest/
H A DImagingOpsNoExceptionsTest.java96 byte threshold[] = new byte[256];
99 threshold[j] = (byte) 255;
101 threshold[j] = (byte) 0;
103 threshold[j] = (byte) j;
106 LookupOp lop = new LookupOp(new ByteLookupTable(0,threshold), null);
/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/share/classes/sun/tools/jconsole/
H A DMemoryTab.java65 private static final String thresholdKey = "threshold";
251 private long[] used, committed, max, threshold;
275 threshold = new long[n];
282 threshold[i] = -1L;
296 threshold[i] = (Long)((Attribute)al.get(1)).getValue();
353 plotter.addValues(timeStamp, used[i], committed[i], max[i], threshold[i]);
354 if (threshold[i] > 0L) {
358 used[i], threshold[i], max[i]);
395 long threshold = plotter.getLastValue(thresholdKey);
404 if (threshold >
444 long value, threshold, max; field in class:MemoryTab.PoolPlotter
497 setValue(int poolIndex, PoolPlotter poolPlotter, long value, long threshold, long max) argument
[all...]
/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/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/share/classes/java/util/
H A DWeakHashMap.java165 private int threshold; field in class:WeakHashMap
189 * The default threshold of map capacity above which alternative hashing is
194 * {@code jdk.map.althashing.threshold}. A property value of {@code 1}
213 "jdk.map.althashing.threshold"));
215 int threshold;
217 threshold = (null != altThreshold)
222 if (threshold == -1) {
223 threshold = Integer.MAX_VALUE;
226 if (threshold < 0) {
230 throw new Error("Illegal value for 'jdk.map.althashing.threshold'", faile
[all...]
H A DHashMap.java167 int threshold; field in class:HashMap
186 * The default threshold of map capacity above which alternative hashing is
191 * {@code jdk.map.althashing.threshold}. A property value of {@code 1}
210 "jdk.map.althashing.threshold"));
212 int threshold;
214 threshold = (null != altThreshold)
219 if (threshold == -1) {
220 threshold = Integer.MAX_VALUE;
223 if (threshold < 0) {
227 throw new Error("Illegal value for 'jdk.map.althashing.threshold'", faile
[all...]
/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/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/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/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/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)

Completed in 320 milliseconds

123