The ExecutionEngineJNI class now keeps an internal cache of the read/write tracking sets that are automatically invalidated whenever the txn executes a query