/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | Buffer.java | 82 * <p> A buffer's <i>mark</i> is the index to which its position will be reset 83 * when the {@link #reset reset} method is invoked. The mark is not always 85 * than the position. If the mark is defined then it is discarded when the 86 * position or the limit is adjusted to a value smaller than the mark. If the 87 * mark is not defined then invoking the {@link #reset reset} method causes an 93 * <p> The following invariant holds for the mark, position, limit, and 98 * <i>mark</i> <tt><=</tt> 104 * <p> A newly-created buffer always has a position of zero and a mark that is 140 * content to be changed, but its mark, position, and limit values are mutable. 176 // Invariants: mark < 177 private int mark = -1; field in class:Buffer 189 Buffer(int mark, int pos, int lim, int cap) argument 279 public final Buffer mark() { method in class:Buffer [all...] |
/openjdk7/jdk/test/java/io/PushbackInputStream/ |
H A D | MarkReset.java | 26 * @summary Make sure that the mark() and reset() methods behave as expected. 39 in.mark(-5); 40 in.mark(6); 41 in.mark(Integer.MAX_VALUE);
|
/openjdk7/jdk/test/java/util/zip/InflaterInputStream/ |
H A D | MarkReset.java | 26 * @summary Make sure that the mark() and reset() methods behave as expected. 43 in.mark(-5); 44 in.mark(6); 45 in.mark(Integer.MAX_VALUE);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | MarkAndResetHandler.java | 30 * implement mark/reset. 34 void mark(RestorableInputStream inputStream); method in interface:MarkAndResetHandler
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | EditableAtEndDocument.java | 30 can only be performed at the end, from "mark" to the end of the 37 private int mark; field in class:EditableAtEndDocument 49 int markStart = mark; 64 mark = getLength(); 68 return getText(mark, getLength() - mark);
|
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/ |
H A D | EditableAtEndDocument.java | 46 * can only be performed at the end, from "mark" to the end of the 52 private int mark; field in class:EditableAtEndDocument 66 int markStart = mark; 81 mark = getLength(); 85 return getText(mark, getLength() - mark);
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/ |
H A D | AtomicMarkableReference.java | 40 * along with a mark bit, that can be updated atomically. 54 final boolean mark; field in class:AtomicMarkableReference.Pair 55 private Pair(T reference, boolean mark) { argument 57 this.mark = mark; 59 static <T> Pair<T> of(T reference, boolean mark) { argument 60 return new Pair<T>(reference, mark); 71 * @param initialMark the initial mark 87 * Returns the current value of the mark. 89 * @return the current value of the mark [all...] |
/openjdk7/jdk/test/java/io/StringReader/ |
H A D | NegativeMarkLimit.java | 37 in.mark(-1);
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | synchronizer.cpp | 180 assert(!obj->mark()->has_bias_pattern(), "biases should be revoked by now"); 187 assert(!object->mark()->has_bias_pattern(), "should not see bias pattern here"); 190 markOop mark ; local 194 mark = object->mark() ; 195 assert (!mark->is_neutral(), "invariant") ; 196 if (mark->has_locker() && mark != markOopDesc::INFLATING()) { 197 assert(THREAD->is_lock_owned((address)mark->locker()), "invariant") ; 199 if (mark 228 markOop mark = obj->mark(); local 416 markOop mark = obj->mark(); local 430 markOop mark = obj->mark(); local 475 markOop mark = obj->mark() ; local 482 markOop mark = obj->mark() ; local 640 markOop mark = ReadStableMark (obj); local 728 markOop mark = ReadStableMark (obj) ; local 767 markOop mark = ReadStableMark (obj) ; local 804 markOop mark = ReadStableMark (obj) ; local 1181 markOop mark = obj->mark(); local 1202 const markOop mark = object->mark() ; local [all...] |
H A D | biasedLocking.cpp | 147 markOop mark = obj->mark(); local 148 if (!mark->has_bias_pattern()) { 157 int age = mark->age(); 163 tty->print_cr("Revoking bias of object " INTPTR_FORMAT " , mark " INTPTR_FORMAT " , type %s , prototype header " INTPTR_FORMAT " , allow rebias %d , requesting thread " INTPTR_FORMAT, 164 (intptr_t) obj, (intptr_t) mark, Klass::cast(obj->klass())->external_name(), (intptr_t) Klass::cast(obj->klass())->prototype_header(), (allow_rebias ? 1 : 0), (intptr_t) requesting_thread); 167 JavaThread* biased_thread = mark->biased_locker(); 221 markOop mark = markOopDesc::encode((BasicLock*) NULL); local 223 highest_lock->set_displaced_header(mark); 236 // Reset object header to point to displaced mark 267 markOop mark = o->mark(); local 362 markOop mark = owner->mark(); local 394 markOop mark = owner->mark(); local 467 markOop mark = (*_obj)()->mark(); local 473 markOop mark = (_objs->at(i))()->mark(); local 534 markOop mark = obj->mark(); local 708 markOop mark = owner->mark(); local 732 markOop mark = _preserved_mark_stack->at(i); local [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ |
H A D | ObjectSynchronizer.java | 57 Mark mark = obj.getMark(); 58 if (mark.isUnlocked()) { 60 return mark.hash(); 61 } else if (mark.hasMonitor()) { 62 ObjectMonitor monitor = mark.monitor(); 69 if (mark.hasDisplacedMarkHelper()) { 70 Mark temp = mark.displacedMarkHelper();
|
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | markSweep.inline.hpp | 37 // and overwrite the mark. We'll restore it at the end of markSweep. 38 markOop mark = obj->mark(); local 41 if (mark->must_be_preserved(obj)) { 42 preserve_mark(obj, mark); 58 if (!obj->mark()->is_marked()) { 71 if (!obj->mark()->is_marked()) { 88 oop new_obj = oop(obj->mark()->decode_pointer()); 90 obj->mark() == markOopDesc::prototype() || // not gc marked? 91 (UseBiasedLocking && obj->mark() [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | ByteArrayInputStream.java | 69 * position within the buffer by the <code>mark()</code> method. 73 * If no mark has been set, then the value of mark is the offset 78 protected int mark = 0; field in class:ByteArrayInputStream 116 * The buffer array is not copied. The buffer's mark is 127 this.mark = offset; 236 * Tests if this <code>InputStream</code> supports mark/reset. The 252 * If no mark has been set, then the value of the mark is the 261 public void mark(in method in class:ByteArrayInputStream [all...] |
H A D | FilterReader.java | 96 * Tells whether this stream supports the mark() operation. 107 public void mark(int readAheadLimit) throws IOException { method in class:FilterReader 108 in.mark(readAheadLimit);
|
H A D | StringReader.java | 41 private int mark = 0; field in class:StringReader 150 * Tells whether this stream supports the mark() operation, which it does. 161 * read while still preserving the mark. Because 169 public void mark(int readAheadLimit) throws IOException { method in class:StringReader 175 mark = next; 180 * Resets the stream to the most recent mark, or to the beginning of the 188 next = mark; 195 * ready(), mark(), or reset() invocations will throw an IOException.
|
/openjdk7/jdk/test/java/beans/Introspector/4520754/ |
H A D | Test4520754.java | 69 private static void test(Boolean mark, Class... types) { argument 71 BeanInfo info = getBeanInfo(mark, type); 75 if (mark != info.getBeanDescriptor().getValue("test")) { 82 private static BeanInfo getBeanInfo(Boolean mark, Class type) { argument 83 System.out.println("test=" + mark + " for " + type); 93 if (mark != info.getBeanDescriptor().getValue("test")) {
|
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | CanonShaping.cpp | 76 le_int32 mark; local 78 for (mark = i; mark < charCount; mark += 1) { 79 if (combiningClasses[mark] == 0) { 84 sortMarks(indices, combiningClasses, i, mark);
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | UnicodeDecoder.java | 68 int mark = src.position(); 80 mark += 2; 84 mark += 2; 109 mark += 4; 120 mark += 2; 127 src.position(mark);
|
H A D | UTF_32Coder.java | 67 int mark = src.position(); 77 mark += 4; 80 mark += 4; 86 src.position(mark); 94 mark += 4; 99 mark += 4; 108 src.position(mark); 146 int mark = src.position(); 159 mark++; 168 mark [all...] |
/openjdk7/jdk/test/java/io/BufferedReader/ |
H A D | BigMark.java | 44 br.mark(200); 51 br.mark(Integer.MAX_VALUE);
|
H A D | MarkedFillAtEOF.java | 27 when mark is set. 39 r.mark(2);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/ |
H A D | PositionDataInputStream.java | 53 public void mark(int readLimit) { method in class:PositionDataInputStream 54 throw new UnsupportedOperationException("mark");
|
/openjdk7/jdk/test/java/io/LineNumberInputStream/ |
H A D | MarkReset.java | 26 @summary Check if mark and reset of LineNumberInputStream works 39 in.mark(100);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | GapContent.java | 57 * mark, and decreases the cost of keeping the mark updated. 258 * Holds the data for a mark... separately from 259 * the real mark so that the real mark (Position 279 * is held by the mark, so it is adjusted according 300 void setMark(MarkData mark) { argument 301 this.mark = mark; 305 return mark 312 MarkData mark; field in class:GapContent.StickyPosition [all...] |
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | secitem.c | 74 void *mark = NULL; local 77 mark = PORT_ArenaMark(arena); 108 if (mark) { 109 PORT_ArenaUnmark(arena, mark); 115 if (mark) { 116 PORT_ArenaRelease(arena, mark);
|