Skip to content

Commit

Permalink
Do not copy internal pointers on updating an entry
Browse files Browse the repository at this point in the history
Adjust the size of `EntryInfo` in a test.
  • Loading branch information
tatsuya6502 committed Aug 15, 2023
1 parent 68e5c52 commit fe96c95
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/common/concurrent/entry_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ mod test {
};

let expected_sizes = match (arch, is_quanta_enabled) {
(Linux64, true) => vec![("1.51", 24)],
(Linux32, true) => vec![("1.51", 24)],
(MacOS64, true) => vec![("1.62", 24)],
(Linux64, false) => vec![("1.66", 56), ("1.51", 72)],
(Linux32, false) => vec![("1.66", 56), ("1.62", 72), ("1.51", 40)],
(MacOS64, false) => vec![("1.62", 56)],
(Linux64, true) => vec![("1.60", 48)],
(Linux32, true) => vec![("1.60", 40)],
(MacOS64, true) => vec![("1.62", 48)],
(Linux64, false) => vec![("1.66", 80), ("1.60", 96)],
(Linux32, false) => vec![("1.66", 72)],
(MacOS64, false) => vec![("1.62", 80)],
};

let mut expected = None;
Expand Down

0 comments on commit fe96c95

Please sign in to comment.