diff --git a/Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/DBTrace.java b/Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/DBTrace.java index 7be9866cc4..4e80602cdb 100644 --- a/Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/DBTrace.java +++ b/Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/DBTrace.java @@ -580,8 +580,7 @@ public class DBTrace extends DBCachedDomainObjectAdapter implements Trace, Trace } @Override - // NOTE: addListener synchronizes on this and might generate callbacks immediately - public synchronized DBTraceProgramView getFixedProgramView(long snap) { + public DBTraceProgramView getFixedProgramView(long snap) { // NOTE: The new viewport will need to read from the time manager during init DBTraceProgramView view; try (LockHold hold = lockRead()) { @@ -595,8 +594,7 @@ public class DBTrace extends DBCachedDomainObjectAdapter implements Trace, Trace } @Override - // NOTE: Ditto getFixedProgramView - public synchronized DBTraceVariableSnapProgramView createProgramView(long snap) { + public DBTraceVariableSnapProgramView createProgramView(long snap) { // NOTE: The new viewport will need to read from the time manager during init DBTraceVariableSnapProgramView view; try (LockHold hold = lockRead()) { @@ -613,7 +611,7 @@ public class DBTrace extends DBCachedDomainObjectAdapter implements Trace, Trace } @Override - public synchronized DBTraceTimeViewport createTimeViewport() { + public DBTraceTimeViewport createTimeViewport() { try (LockHold hold = lockRead()) { DBTraceTimeViewport view = new DBTraceTimeViewport(this); viewports.add(view);