GT-2845: Storing original program bytes in the program database.

This commit is contained in:
ghidravore 2019-05-06 12:44:51 -04:00 committed by Ryan Kurtz
parent d95fd43762
commit 0792417979
73 changed files with 7129 additions and 2575 deletions

View file

@ -49,7 +49,7 @@ class DomainObjectChangeSupport {
DomainObjectChangeSupport(DomainObject src, int timeInterval, int bufsize, Lock lock) {
this.src = src;
this.domainObjectLock = lock;
this.domainObjectLock = Objects.requireNonNull(lock);
changesQueue = new ArrayList<>(bufsize);
listeners = WeakDataStructureFactory.createCopyOnWriteWeakSet();
@ -127,7 +127,7 @@ class DomainObjectChangeSupport {
void flush() {
Thread lockOwner = domainObjectLock.getOwner();
if (domainObjectLock != null && lockOwner == Thread.currentThread()) {
if (lockOwner == Thread.currentThread()) {
/*
* We have decided that flushing events with a lock can lead to deadlocks. There