642643644645646647648649650651652
// wake up waiting thread // log("synchronized (entry) "); synchronized (entry) { // log("notifying entry "); entry.setWritten(true); entry.notify(); } return; }
663664665666667668669670671672673
TransactionLogRecord e = records[i]; // log("synchronized (entry) "); synchronized (e) { // log("notifying entry "); e.setWritten(true); e.notify(); } } }