/openjdk7/langtools/test/tools/javac/boxing/ |
H A D | BoxingCaching.java | 27 * @summary Verify autoboxed values are cached as required. 34 boolean cached = true; 45 cached = false; 47 " is not cached appropriately."); 52 cached = false; 54 " is not cached appropriately."); 57 return cached; 61 boolean cached = true; 70 cached = false; 72 " is not cached appropriatel [all...] |
/openjdk7/jdk/src/share/classes/sun/management/snmp/util/ |
H A D | SnmpTableCache.java | 43 * If the WeakReference is null or empty, the cached data is recomputed.</p> 51 * Interval of time in ms during which the cached table data 57 * A weak refernce holding cached table data. 62 * true if the given cached table data is obsolete. 64 protected boolean isObsolete(SnmpCachedData cached) { argument 65 if (cached == null) return true; 67 return ((System.currentTimeMillis() - cached.lastUpdated) > validity); 71 * Returns the cached table data. 72 * Returns null if the cached data is obsolete, or if there is no 73 * cached dat [all...] |
/openjdk7/jdk/src/share/classes/sun/management/snmp/jvminstr/ |
H A D | JvmRuntimeImpl.java | 125 final String[] cached = (String[])m.get(tag); 126 if (cached != null) return cached; 146 final String[] cached = (String[])m.get(tag); 147 if (cached != null) return cached; 164 final String[] cached = (String[])m.get(tag); 165 if (cached != null) return cached; 182 final String[] cached [all...] |
H A D | JvmMemoryImpl.java | 160 final MemoryUsage cached = (MemoryUsage) 162 if (cached != null) { 165 return cached; 196 final MemoryUsage cached = (MemoryUsage)m.get(heapMemoryTag); 197 if (cached != null) { 200 return cached; 281 final EnumJvmMemoryGCCall cached 283 if (cached != null) return cached;
|
H A D | JvmMemPoolEntryImpl.java | 82 final MemoryUsage cached = (MemoryUsage) 84 if (cached != null) { 87 return cached; 114 final MemoryUsage cached = (MemoryUsage) 116 if (cached != null) { 120 return cached; 147 final MemoryUsage cached = (MemoryUsage) 149 if (cached != null) { 153 return cached;
|
H A D | JvmThreadInstanceTableMetaImpl.java | 142 * @param validity validity of the cached data, in ms. 343 JvmThreadInstanceEntryImpl cached = null; 359 cached = (JvmThreadInstanceEntryImpl) map.get(entryTag); 364 if (cached != null) { 367 return cached; 392 cached = new JvmThreadInstanceEntryImpl(info, oid.toByte()); 393 if (map != null) map.put(entryTag, cached); 396 return cached;
|
H A D | JvmMemMgrPoolRelTableMetaImpl.java | 78 * @param validity validity of the cached data, in ms. 122 private static Map<String, SnmpOid> buildPoolIndexMap(SnmpCachedData cached) { argument 123 if (cached == null) return Collections.emptyMap(); 124 final SnmpOid[] indexes = cached.indexes; 125 final Object[] datas = cached.datas; 143 * This method return the cached table data if it is still 145 * If it needs to recompute the cached data, it first
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | AuthenticationInfo.java | 284 AuthenticationInfo cached = getAuth(key, null); 285 if ((cached == null) && requestIsInProgress (key)) { 287 cached = getAuth(key, null); 289 return cached; 328 AuthenticationInfo cached = (AuthenticationInfo) cache.get(key, null); 329 if ((cached == null) && requestIsInProgress (key)) { 331 cached = (AuthenticationInfo) cache.get(key, null); 333 return cached;
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | GradientPaintContext.java | 44 static WeakReference cached; field in class:GradientPaintContext 48 if (cached != null) { 49 Raster ras = (Raster) cached.get(); 54 cached = null; 63 if (cached != null) { 64 Raster cras = (Raster) cached.get(); 79 cached = new WeakReference(ras);
|
H A D | MultipleGradientPaintContext.java | 65 /** The cached ColorModel. */ 68 /** The cached raster, which is reusable among instances. */ 69 protected static WeakReference<Raster> cached; field in class:MultipleGradientPaintContext 232 // use the values cached in the MultipleGradientPaint instance 667 if (cached != null) { 668 Raster ras = (Raster) cached.get(); 673 cached = null; 689 if (cached != null) { 690 Raster cras = (Raster) cached.get(); 705 cached [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | IOVecWrapper.java | 82 private static final ThreadLocal<IOVecWrapper> cached = field in class:IOVecWrapper 96 IOVecWrapper wrapper = cached.get(); 105 cached.set(wrapper);
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | FileTreeWalker.java | 88 // if attributes are cached then use them if possible 94 BasicFileAttributes cached = ((BasicFileAttributesHolder)file).get(); 95 if (cached != null && (!followLinks || !cached.isSymbolicLink())) 96 attrs = cached;
|
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/ |
H A D | MethodFinder.java | 69 boolean cached = method != null; 70 if (cached && isPackageAccessible(method.getDeclaringClass())) { 74 if (!cached) {
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | BaseFileManager.java | 305 private ByteBuffer cached; field in class:BaseFileManager.ByteBufferCache 309 (cached != null && cached.capacity() >= capacity) 310 ? (ByteBuffer)cached.clear() 312 cached = null; 316 cached = x;
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | ImageTests.java | 892 private boolean cached; field in class:ImageTests.BufImgOpFilter 894 BufImgOpFilter(boolean cached) { argument 896 "filter" + (cached ? "cached" : "null"), 898 (cached ? "cachedCompatibleDestImg" : "null") + ");"); 899 this.cached = cached; 908 if (cached) { 934 private boolean cached; field in class:ImageTests.RasterOpFilter 936 RasterOpFilter(boolean cached) { argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/ |
H A D | REUtil.java | 263 RegularExpression cached = REUtil.regexCache[i]; 264 if (cached == null) { 268 if (cached.equals(pattern, intOptions)) { 269 re = cached;
|
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/utils/ |
H A D | NTypeParser.java | 55 private static Map<String, NType> cached = new HashMap<String, NType>(); field in class:NTypeParser 57 if(!cached.containsKey(s)) cached.put(s, parseFrom(new StringStream(s))); 58 return cached.get(s);
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | Cache.java | 436 Map<Object, Object> cached = getCachedEntries(); 438 visitor.visit(cached);
|
/openjdk7/jdk/src/share/classes/javax/management/ |
H A D | StandardMBean.java | 137 * The cached MBeanInfo. 416 * retrieve the cached MBeanInfo for this MBean, if any. If the 427 * @return The cached MBeanInfo for that MBean, if not null, or a 428 * newly built MBeanInfo if none was cached. 432 final MBeanInfo cached = getCachedMBeanInfo(); 433 if (cached != null) return cached; 438 "Failed to get cached MBeanInfo", x); 783 * Return the MBeanInfo cached for this object. 789 * @return The cached MBeanInf [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/ |
H A D | Introspector.java | 582 * Returns the list of methods cached for the given class, or {@code null} 583 * if not cached. 586 // return cached methods if possible 589 List<Method> cached = ref.get(); 590 if (cached != null) 591 return cached; 628 // return cached result if available
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/util/ |
H A D | Utility.java | 505 // Do we already have it cached? 507 Object cached = tieToStubCache.get(tie); 508 if (cached == null) { 515 if (cached != CACHE_MISS) { 517 entry = (StubEntry) cached; 519 // Does the cached stub meet the requirements 523 // any further because the cached type is good 527 // the most derived cached already... 538 // upgrade the cached stub by forcing it to the most 550 // Use the cached stu [all...] |
/openjdk7/jdk/src/share/classes/javax/management/modelmbean/ |
H A D | RequiredModelMBean.java | 455 * see if there is a valid cached value in the descriptor. 459 * <li><b><0</b> Then the value is not cached and is never valid. 462 * <li><b>=0</b> Then the value is always cached and always valid. 542 /* if currencyTimeLimit is -1 then value is never cached */ 551 /* if currencyTimeLimit is 0 then value is always cached */ 619 /* need to cast string cached value to type */ 645 mth,"reset cached value to null"); 809 * The last value returned by an operation may be cached in 815 * <LI><b><0</b> Then the value is not cached and is never valid. 818 * <LI><b>=0</b> Then the value is always cached an [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | callnode.cpp | 1122 void* cached = (*sosn_map)[(void*)this]; local 1123 if (cached != NULL) { 1124 return (SafePointScalarObjectNode*)cached;
|