Lines Matching defs:used
34 * by methods that are used to obtain memory usage
52 * <td style="vertical-align:top"> {@code used} </td>
53 * <td style="vertical-align:top"> represents the amount of memory currently used (in bytes).
64 * or equal to {@code used}.
70 * that can be used for memory management. Its value may be undefined.
72 * The amount of used and committed memory will always be less than
75 * used memory such that {@code used > committed} even
76 * if {@code used <= max} would still be true (for example,
93 * used
109 private final long used;
119 * @param used the amount of used memory in bytes.
122 * can be used; or {@code -1} if undefined.
128 * <li> the value of {@code used} or {@code committed} is negative;
130 * <li> {@code used} is greater than the value of {@code committed};
137 long used,
148 if (used < 0) {
149 throw new IllegalArgumentException( "used parameter = " +
150 used + " is negative.");
156 if (used > committed) {
157 throw new IllegalArgumentException( "used = " + used +
166 this.used = used;
180 this.used = MemoryUsageCompositeData.getUsed(cd);
198 * Returns the amount of used memory in bytes.
200 * @return the amount of used memory in bytes.
204 return used;
221 * used for memory management. This method returns {@code -1}
227 * memory even if the amount of used memory does not exceed this
243 buf.append("used = " + used + "(" + (used >> 10) + "K) ");
267 * <td>used</td>