From 93c130949c81e0b10f9b534838f195e168468034 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Sun, 24 Jul 2016 18:52:11 -0700 Subject: [PATCH] debugging code --- src/java/iotcloud/Table.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/iotcloud/Table.java b/src/java/iotcloud/Table.java index bd9e15b..baf171d 100644 --- a/src/java/iotcloud/Table.java +++ b/src/java/iotcloud/Table.java @@ -92,18 +92,22 @@ final public class Table { long seqn = buffer.getOldestSeqNum(); if (forcedresize) { + System.out.println("A"); TableStatus status=new TableStatus(s, FORCED_RESIZE_INCREMENT + numslots); s.addEntry(status); } if ((numslots - buffer.size()) < FREE_SLOTS) { /* have to check whether we have enough free slots */ + System.out.println("B"); long fullfirstseqn = buffer.getNewestSeqNum() + 1 - numslots; seqn = fullfirstseqn < 1?1:fullfirstseqn; for(int i=0; i < FREE_SLOTS; i++, seqn++) { Slot prevslot=buffer.getSlot(seqn); + System.out.println(i); if (!prevslot.isLive()) continue; + System.out.println("islive"); Vector liveentries = prevslot.getLiveEntries(); for(Entry liveentry:liveentries) { if (redundant(liveentry)) -- 2.34.1