Searched refs:snapshot (Results 1 - 25 of 107) sorted by relevance

12345

/openjdk10/jdk/test/java/lang/management/MemoryMXBean/
H A DPending.java88 Snapshot snapshot = getSnapshotAfterFinalization();
91 System.out.println(" Before creating object: " + snapshot);
99 snapshot = getSnapshot();
100 System.out.println(" Afer creating objects with no ref: " + snapshot);
108 snapshot = getSnapshot();
109 System.out.println(" Afer creating objects with ref: " + snapshot);
119 snapshot = getSnapshot();
120 System.out.println("Clear all references finalized = " + snapshot);
125 snapshot = getSnapshot();
129 if (snapshot
[all...]
/openjdk10/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/
H A DThreadReferenceImpl.java284 LocalCache snapshot = localCache;
285 JDWP.ThreadReference.Status myStatus = snapshot.status;
291 snapshot.status = myStatus;
349 LocalCache snapshot = localCache;
351 if (snapshot.frameCount == -1) {
352 snapshot.frameCount = JDWP.ThreadReference.FrameCount
364 return snapshot.frameCount;
381 private boolean isSubrange(LocalCache snapshot, argument
383 if (start < snapshot.framesStart) {
387 return (snapshot
[all...]
/openjdk10/test/lib/jdk/test/lib/hprof/model/
H A DJavaStatic.java54 public void resolve(JavaClass clazz, Snapshot snapshot) { argument
59 value = value.dereference(snapshot, field);
61 clazz.getLoader() == snapshot.getNullThing()) {
67 snapshot.addRoot(new Root(id, clazz.getId(),
H A DJavaObjectRef.java59 public JavaThing dereference(Snapshot snapshot, JavaField field) { argument
60 return dereference(snapshot, field, true);
63 public JavaThing dereference(Snapshot snapshot, JavaField field, boolean verbose) { argument
70 return snapshot.getNullThing();
72 JavaThing result = snapshot.findThing(id);
74 if (!snapshot.getUnresolvedObjectsOK() && verbose) {
H A DJavaObjectArray.java54 public void resolve(Snapshot snapshot) { argument
59 if (snapshot.isNewStyleArrayClass()) {
61 JavaThing t = snapshot.findThing(classID);
67 JavaThing t = snapshot.findThing(classID);
74 clazz = snapshot.getArrayClass(nm);
79 clazz = snapshot.getOtherArrayType();
82 super.resolve(snapshot);
153 Snapshot snapshot = getClazz().getSnapshot();
160 res[i] = snapshot.findThing(id);
H A DStackTrace.java68 public void resolve(Snapshot snapshot) { argument
70 frames[i].resolve(snapshot);
H A DJavaClass.java114 public void resolve(Snapshot snapshot) { argument
118 mySnapshot = snapshot;
119 resolveSuperclass(snapshot);
124 loader = loader.dereference(snapshot, null);
125 signers = signers.dereference(snapshot, null);
126 protectionDomain = protectionDomain.dereference(snapshot, null);
129 statics[i].resolve(this, snapshot);
131 snapshot.getJavaLangClass().addInstance(this);
132 super.resolve(snapshot);
142 public void resolveSuperclass(Snapshot snapshot) { argument
[all...]
H A DJavaHeapObject.java74 public void resolve(Snapshot snapshot) { argument
75 StackTrace trace = snapshot.getSiteTrace(this);
77 trace.resolve(snapshot);
H A DJavaObject.java58 public void resolve(Snapshot snapshot) { argument
64 clazz = snapshot.findThing(classID);
69 ReadBuffer buf = snapshot.getReadBuffer();
70 int idSize = snapshot.getIdentifierSize();
77 clazz = snapshot.addFakeInstanceClass(classID, length);
84 cl.resolve(snapshot);
92 super.resolve(snapshot);
235 Snapshot snapshot = cl.getSnapshot();
266 fieldValues[target+fieldNo] = ref.dereference(snapshot, f, verbose);
/openjdk10/jdk/test/java/security/Security/
H A DNoInstalledProviders.java37 ProvidersSnapshot snapshot = ProvidersSnapshot.create();
41 snapshot.restore();
H A DSynchronizedAccess.java36 ProvidersSnapshot snapshot = ProvidersSnapshot.create();
40 snapshot.restore();
/openjdk10/jdk/test/javax/crypto/JceSecurity/
H A DSunJCE_BC_LoadOrdering.java41 ProvidersSnapshot snapshot = ProvidersSnapshot.create();
45 snapshot.restore();
/openjdk10/jdk/test/java/security/Provider/
H A DChangeProviders.java47 ProvidersSnapshot snapshot = ProvidersSnapshot.create();
51 snapshot.restore();
/openjdk10/jdk/test/sun/java2d/DirectX/AcceleratedScaleTest/
H A DAcceleratedScaleTest.java91 BufferedImage snapshot;
112 snapshot = destVI.getSnapshot();
117 for (int y = 0; y < snapshot.getHeight(); y++) {
118 for (int x = 0; x < snapshot.getWidth(); x++) {
119 if (snapshot.getRGB(x, y) == whitePixel) {
124 ImageIO.write(snapshot, "png",
/openjdk10/jdk/test/java/security/Security/removing/
H A DRemoveProviders.java39 ProvidersSnapshot snapshot = ProvidersSnapshot.create();
43 snapshot.restore();
/openjdk10/jdk/test/sun/security/ec/
H A DTestEC.java77 ProvidersSnapshot snapshot = ProvidersSnapshot.create();
81 snapshot.restore();
/openjdk10/jdk/test/sun/rmi/log/ReliableLog/
H A DSnapshotSize.java26 * @summary Verify that ReliableLog.snapshotSize() returns correct snapshot
51 String[] snapshots = { "some", "sample", "objects", "to", "snapshot" };
53 log.snapshot(snapshots[i]);
61 return "initial snapshot";
64 public void snapshot(OutputStream out, Object value) throws IOException { method in class:SnapshotSize
/openjdk10/test/lib/jdk/test/lib/hprof/
H A DHprofParser.java85 try (Snapshot snapshot = Reader.readFile(dump.getAbsolutePath(), callStack, debugLevel)) {
87 snapshot.resolve(calculateRefs);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/
H A DNewMultiArrayTest.java61 List<NewMultiArrayNode> snapshot = graph.getNodes().filter(NewMultiArrayNode.class).snapshot();
62 assert snapshot != null;
63 assert snapshot.size() == 1;
65 NewMultiArrayNode node = snapshot.get(0);
/openjdk10/jdk/test/sun/java2d/pipe/MutableColorTest/
H A DMutableColorTest.java104 final BufferedImage snapshot,
106 for (int y = 0; y < snapshot.getHeight(); y++) {
107 for (int x = 0; x < snapshot.getWidth(); x++) {
108 int snapRGB = snapshot.getRGB(x, y);
114 ImageIO.write(snapshot, "png", new File(fileName));
115 System.err.println("Dumped snapshot to "+fileName);
103 testResult(final String desc, final BufferedImage snapshot, final int evilColor) argument
/openjdk10/test/lib/jdk/test/lib/hprof/parser/
H A DHprofReader.java153 private Snapshot snapshot; field in class:HprofReader
164 this.snapshot = new Snapshot(MappedReadBuffer.create(file));
182 snapshot.setIdentifierSize(identifierSize);
184 snapshot.setNewStyleArrayClass(true);
186 snapshot.setNewStyleArrayClass(false);
245 handleEOF(exp, snapshot);
250 return snapshot;
262 return snapshot;
282 handleEOF(exp, snapshot);
358 return snapshot;
899 handleEOF(EOFException exp, Snapshot snapshot) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/
H A DCopyOnWriteArraySet.java282 * Tells whether the objects in snapshot (regarded as a set) are a
285 * @return -1 if snapshot is not a superset, 0 if the two sets
286 * contain precisely the same elements, and 1 if snapshot is a
289 private static int compareSets(Object[] snapshot, Set<?> set) { argument
296 final int len = snapshot.length;
304 if (!matched[i] && Objects.equals(x, snapshot[i])) {
381 * <p>The returned iterator provides a snapshot of the state of the set
436 * <p>The spliterator provides a snapshot of the state of the set
/openjdk10/jdk/test/java/awt/image/DrawImage/
H A DIncorrectAlphaConversionBicubic.java64 BufferedImage snapshot;
78 snapshot = vi.getSnapshot();
84 final int actual = snapshot.getRGB(2, 2);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/
H A DRemoveValueProxyPhase.java37 for (ProxyNode vpn : exit.proxies().snapshot()) {
/openjdk10/jdk/src/java.rmi/share/classes/sun/rmi/log/
H A DLogHandler.java37 * apply an update to a snapshot. The client must specifiy these methods
63 * Writes the snapshot object to a stream. This callback is
66 * @param value the snapshot
70 void snapshot(OutputStream out, Object value) throws Exception { method in class:LogHandler
77 * Read the snapshot object from a stream and returns the snapshot.
81 * @return the state (snapshot)
96 * @param value the snapshot
112 * the new snapshot value. It then returns the new snapshot
[all...]

Completed in 116 milliseconds

12345