Lines Matching defs:snapshot

284         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,
383 if (start < snapshot.framesStart) {
387 return (snapshot.framesLength == -1);
389 if (snapshot.framesLength == -1) {
390 if ((start + length) > (snapshot.framesStart +
391 snapshot.frames.size())) {
396 return ((start + length) <= (snapshot.framesStart + snapshot.framesLength));
417 LocalCache snapshot = localCache;
419 if (snapshot.frames == null || !isSubrange(snapshot, start, length)) {
424 snapshot.frames = new ArrayList<>(count);
434 snapshot.frames.add(frame);
436 snapshot.framesStart = start;
437 snapshot.framesLength = length;
438 return Collections.unmodifiableList(snapshot.frames);
440 int fromIndex = start - snapshot.framesStart;
443 toIndex = snapshot.frames.size() - fromIndex;
447 return Collections.unmodifiableList(snapshot.frames.subList(fromIndex, toIndex));
461 LocalCache snapshot = localCache;
463 if (snapshot.ownedMonitors == null) {
464 snapshot.ownedMonitors = Arrays.asList(
470 " (count = " + snapshot.ownedMonitors.size() + ")");
482 return snapshot.ownedMonitors;
487 LocalCache snapshot = localCache;
489 if (snapshot.contendedMonitor == null &&
490 !snapshot.triedCurrentContended) {
491 snapshot.contendedMonitor = JDWP.ThreadReference.CurrentContendedMonitor.
493 snapshot.triedCurrentContended = true;
494 if ((snapshot.contendedMonitor != null) &&
498 " (id = " + snapshot.contendedMonitor.uniqueID() + ")");
510 return snapshot.contendedMonitor;
514 LocalCache snapshot = localCache;
516 if (snapshot.ownedMonitorsInfo == null) {
520 snapshot.ownedMonitorsInfo = new ArrayList<>(minfo.length);
524 snapshot.ownedMonitorsInfo.add(mon);
530 " (count = " + snapshot.ownedMonitorsInfo.size() + ")");
543 return snapshot.ownedMonitorsInfo;