Lines Matching +refs:val +refs:entry

324         Object entry = null;
326 entry = ref.get();
329 if (entry == null) {
338 entry = ref.get();
340 } while (ref != null && entry == null);
341 if (entry == null) {
346 if (entry instanceof ObjectStreamClass) { // check common case first
347 return (ObjectStreamClass) entry;
349 if (entry instanceof EntryFuture) {
350 future = (EntryFuture) entry;
358 entry = null;
360 entry = future.get();
363 if (entry == null) {
365 entry = new ObjectStreamClass(cl);
367 entry = th;
369 if (future.set(entry)) {
370 Caches.localDescs.put(key, new SoftReference<Object>(entry));
373 entry = future.get();
377 if (entry instanceof ObjectStreamClass) {
378 return (ObjectStreamClass) entry;
379 } else if (entry instanceof RuntimeException) {
380 throw (RuntimeException) entry;
381 } else if (entry instanceof Error) {
382 throw (Error) entry;
384 throw new InternalError("unexpected entry: " + entry);
390 * for an entry in the process of being initialized. (Internal) callers
393 * return the actual entry once it is ready for use and has been set(). To
400 private Object entry = unset;
409 synchronized boolean set(Object entry) {
410 if (this.entry != unset) {
413 this.entry = entry;
424 while (entry == unset) {
441 return entry;
2078 Object val = vals[offsets[i]];
2079 if (val != null &&
2080 !types[i - numPrimFields].isInstance(val))
2085 val.getClass().getName() + " to field " +
2091 unsafe.putObject(obj, key, val);
2121 Object entry = null;
2123 entry = ref.get();
2126 if (entry == null) {
2135 entry = ref.get();
2137 } while (ref != null && entry == null);
2138 if (entry == null) {
2143 if (entry instanceof FieldReflector) { // check common case first
2144 return (FieldReflector) entry;
2145 } else if (entry instanceof EntryFuture) {
2146 entry = ((EntryFuture) entry).get();
2147 } else if (entry == null) {
2149 entry = new FieldReflector(matchFields(fields, localDesc));
2151 entry = th;
2153 future.set(entry);
2154 Caches.reflectors.put(key, new SoftReference<Object>(entry));
2157 if (entry instanceof FieldReflector) {
2158 return (FieldReflector) entry;
2159 } else if (entry instanceof InvalidClassException) {
2160 throw (InvalidClassException) entry;
2161 } else if (entry instanceof RuntimeException) {
2162 throw (RuntimeException) entry;
2163 } else if (entry instanceof Error) {
2164 throw (Error) entry;
2166 throw new InternalError("unexpected entry: " + entry);