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

1234

/openjdk10/jaxws/src/java.xml.ws/share/classes/javax/xml/ws/soap/
H A DMTOMFeature.java54 * The {@link #threshold} property can be used to set the threshold
67 * Property for MTOM threshold value. This property serves as a hint when
73 protected int threshold; field in class:MTOMFeature
82 this.threshold = 0;
92 this.threshold = 0;
100 * @param threshold the size in bytes that binary data SHOULD be before
103 * @throws WebServiceException if threshold is {@literal <} 0
105 public MTOMFeature(int threshold) { argument
106 if (threshold <
121 MTOMFeature(boolean enabled, int threshold) argument
[all...]
H A DMTOM.java72 * Property for MTOM threshold value. When MTOM is enabled, binary data above this
76 * @return MTOM threshold in bytes
78 int threshold() default 0;
/openjdk10/hotspot/test/native/gc/g1/
H A Dtest_g1IHOPControl.cpp51 size_t threshold = ctrl.get_conc_mark_start_threshold(); local
52 EXPECT_EQ(initial_ihop, threshold);
55 threshold = ctrl.get_conc_mark_start_threshold();
56 EXPECT_EQ(initial_ihop, threshold);
59 threshold = ctrl.get_conc_mark_start_threshold();
60 EXPECT_EQ(initial_ihop, threshold);
64 threshold = ctrl.get_conc_mark_start_threshold();
66 EXPECT_EQ(initial_ihop, threshold);
69 threshold = ctrl.get_conc_mark_start_threshold();
71 EXPECT_EQ(initial_ihop, threshold);
99 size_t threshold; local
[all...]
H A Dtest_g1CodeCacheRemSet.cpp32 size_t threshold() { function in class:G1CodeRootSetTest
55 const size_t num_to_add = (size_t) threshold() + 1;
/openjdk10/jdk/src/java.management/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...]
/openjdk10/hotspot/src/share/vm/gc/g1/
H A Dg1HeapSizingPolicy.cpp56 double threshold = gc_overhead_perc; local
59 // If the heap is at less than half its maximum size, scale the threshold down,
63 threshold *= (double)_g1->capacity() / (double)(_g1->max_capacity() / 2);
64 threshold = MAX2(threshold, 1.0);
67 // If the last GC time ratio is over the threshold, increment the count of
70 if (last_gc_overhead > threshold) {
76 // threshold to trigger an expansion. We'll also expand if we've
78 // is still over the threshold. This indicates a smaller number of GCs were
79 // long enough to make the average exceed the threshold
[all...]
H A Dg1BlockOffsetTable.cpp255 HeapWord* threshold = *threshold_; local
260 assert(blk_end > threshold, "should be past threshold");
261 assert(blk_start <= threshold, "blk_start should be at or before threshold");
262 assert(pointer_delta(threshold, blk_start) <= BOTConstants::N_words,
268 assert(threshold == _bot->_reserved.start() + index*BOTConstants::N_words,
269 "index must agree with threshold");
276 _bot->set_offset_array(index, threshold, blk_start);
295 threshold
[all...]
/openjdk10/jdk/src/java.naming/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) {
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/oracle/xmlns/internal/webservices/jaxws_databinding/
H A DXmlMTOM.java51 * &lt;attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
66 @XmlAttribute(name = "threshold")
67 protected Integer threshold; field in class:XmlMTOM
98 * Gets the value of the threshold property.
106 if (threshold == null) {
109 return threshold;
114 * Sets the value of the threshold property.
122 this.threshold = value;
131 public int threshold() { method in class:XmlMTOM
132 return nullSafe(threshold,
[all...]
/openjdk10/hotspot/test/compiler/c2/
H A DInterruptedTest.java37 /* The value of the threshold determines for how many seconds
41 * by the main thread. The higher the threshold the likelier
45 int threshold = 100;
53 threshold = Integer.parseInt(args[0]);
59 if (threshold < 1) {
78 while (workerThread.isAlive() && ntries < threshold) {
89 if (ntries == threshold) {
/openjdk10/jdk/test/java/lang/management/MemoryPoolMXBean/
H A DThresholdTest.java71 long threshold = p.getUsageThreshold();
72 if (threshold != 0) {
73 // Expect the default threshold is zero (disabled)
76 " has non-zero threshold (" + threshold);
79 // isUsageThresholdExceeded() should return false if threshold == 0
84 " but threshold = 0");
89 // between getting the usage and checking the threshold
98 " threshold(" + p.getUsageThreshold() +
106 " threshold("
[all...]
/openjdk10/langtools/test/tools/javac/limits/
H A DNumArgsTest.java37 // threshold is named as such because "threshold" args is expected
38 // to pass, and "threshold" + 1 args is expected to fail.
39 private final int threshold; field in class:NumArgsTest
51 public NumArgsTest(final int threshold, argument
57 this.threshold = threshold;
67 public NumArgsTest(final int threshold, argument
72 this(threshold, isStaticMethod, result, methodName,
76 public NumArgsTest(final int threshold, argument
84 NumArgsTest(final int threshold, final String result, final String methodName, final String testName) argument
91 NumArgsTest(final int threshold, final String testName, final NestingDef[] nesting) argument
97 NumArgsTest(final int threshold, final String testName) argument
102 NumArgsTest(final int threshold, final String testName, final String constructorName, final NestingDef[] nesting) argument
[all...]
/openjdk10/jdk/src/java.base/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...]
/openjdk10/jdk/test/java/util/logging/Logger/isLoggable/
H A DTestIsLoggable.java146 // The threshold at which the logger is expected to start logging.
147 // trick: we derive the threshold level from the testcase name...
148 public Level threshold() { method in class:TestIsLoggable.LogTest
159 return LEVELS.subList(0, LEVELS.indexOf(threshold())+1);
163 // threshold()
165 return LEVELS.subList(LEVELS.indexOf(threshold())+1, LEVELS.size());
168 // Log a message at this testcase threshold, using this testcase method.
170 log(threshold(), logger, message);
201 return "Logger.log(Level." + threshold().getName() +", msg): ";
203 return "Logger.log(Level." + threshold()
[all...]
/openjdk10/hotspot/test/gc/g1/ihop/lib/
H A DIhopUtils.java40 // [0.402s][debug][gc,ergo,ihop] GC(9) Do not request concurrent cycle initiation (still doing mixed collections) occupancy: 66060288B allocation request: 0B threshold: 59230757B (88.26) source: end of GC
41 // [0.466s][debug][gc,ergo,ihop] GC(18) Request concurrent cycle initiation (occupancy higher than threshold) occupancy: 52428800B allocation request: 0B threshold: 0B (0.00) source: end of GC
44 * Patterns are used for extracting occupancy and threshold from GC log.
47 private final static Pattern THRESHOLD = Pattern.compile("threshold: (\\d+)B");
52 private final static String CYCLE_INITIATION_MESSAGE = "Request concurrent cycle initiation (occupancy higher than threshold)";
75 * Checks that memory occupancy is greater or equal to the threshold.
76 * This methods searches for occupancy and threshold in the GC log corresponding Conc Mark Cycle initiation
83 // Checks occupancy should be greater than threshold.
88 long threshold
[all...]
/openjdk10/jdk/src/java.desktop/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...]
/openjdk10/jdk/src/java.desktop/share/classes/java/beans/
H A DWeakIdentityMap.java52 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;
92 if (this.size >= this.threshold / 2) {
94 this.threshold *= 2;
/openjdk10/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);
/openjdk10/jdk/src/java.desktop/windows/native/libawt/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;
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/
H A DMemoryTab.java65 private static final String thresholdKey = "threshold";
252 private long[] used, committed, max, threshold;
276 threshold = new long[n];
283 threshold[i] = -1L;
297 threshold[i] = (Long)((Attribute)al.get(1)).getValue();
354 plotter.addValues(timeStamp, used[i], committed[i], max[i], threshold[i]);
355 if (threshold[i] > 0L) {
359 used[i], threshold[i], max[i]);
396 long threshold = plotter.getLastValue(thresholdKey);
405 if (threshold >
445 long value, threshold, max; field in class:MemoryTab.PoolPlotter
498 setValue(int poolIndex, PoolPlotter poolPlotter, long value, long threshold, long max) argument
[all...]
/openjdk10/jaxws/src/jdk.xml.bind/share/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
/openjdk10/hotspot/src/share/vm/gc/cms/
H A DconcurrentMarkSweepThread.hpp158 const intx threshold) :
159 _src(src), _msg(msg), _threshold(threshold), _ticks(0) { }
157 CMSLoopCountWarn(const char* src, const char* msg, const intx threshold) argument
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DArrayPrefixHelpers.java58 * Keep dividing by two to threshold segment size, and then:
102 /** The smallest subtask array partition size to use as threshold */
110 final int lo, hi, origin, fence, threshold; field in class:ArrayPrefixHelpers.CumulateTask
120 this.threshold =
127 T[] array, int origin, int fence, int threshold,
132 this.threshold = threshold;
141 int th = threshold, org = origin, fnc = fence, l, h;
262 final int lo, hi, origin, fence, threshold; field in class:ArrayPrefixHelpers.LongCumulateTask
272 this.threshold
126 CumulateTask(CumulateTask<T> parent, BinaryOperator<T> function, T[] array, int origin, int fence, int threshold, int lo, int hi) argument
278 LongCumulateTask(LongCumulateTask parent, LongBinaryOperator function, long[] array, int origin, int fence, int threshold, int lo, int hi) argument
412 final int lo, hi, origin, fence, threshold; field in class:ArrayPrefixHelpers.DoubleCumulateTask
428 DoubleCumulateTask(DoubleCumulateTask parent, DoubleBinaryOperator function, double[] array, int origin, int fence, int threshold, int lo, int hi) argument
562 final int lo, hi, origin, fence, threshold; field in class:ArrayPrefixHelpers.IntCumulateTask
578 IntCumulateTask(IntCumulateTask parent, IntBinaryOperator function, int[] array, int origin, int fence, int threshold, int lo, int hi) argument
[all...]
/openjdk10/jdk/test/java/util/IdentityHashMap/
H A DCapacity.java149 static int threshold(int size) throws Throwable { method in class:Capacity
158 * Checks that inserting (threshold+1) item causes resizing
163 final int threshold = threshold(size);
164 IdentityHashMap<Object,Object> m = new IdentityHashMap<>(threshold);
167 growUsingPut(m, threshold);

Completed in 306 milliseconds

1234