Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[exp] Avoid repeated arcswap load
Browse files Browse the repository at this point in the history
georgemitenkov committed Nov 6, 2024

Verified

This commit was signed with the committer’s verified signature.
jorenham Joren Hammudoglu
1 parent 2774388 commit 0face5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aptos-move/block-executor/src/executor.rs
Original file line number Diff line number Diff line change
@@ -618,9 +618,9 @@ where
// Publish modules before we decrease validation index so that validations observe
// the new module writes as well.
if runtime_environment.vm_config().use_loader_v2 {
executed_at_commit = true;
let module_write_set = last_input_output.module_write_set(txn_idx);
if !module_write_set.is_empty() {
executed_at_commit = true;
Self::publish_module_writes(
txn_idx,
module_write_set,

0 comments on commit 0face5b

Please sign in to comment.