Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New exec code path rebased rc opt #17

Open
wants to merge 130 commits into
base: new-exec-code-path-rebased-rc-opt-base
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
0266647
save
ryoqun Feb 26, 2024
aad5812
save
ryoqun Feb 26, 2024
b45f6af
save
ryoqun Feb 26, 2024
0fbe916
save
ryoqun Feb 26, 2024
d65c44e
save
ryoqun Feb 26, 2024
53cc816
save
ryoqun Feb 26, 2024
9ee111a
save
ryoqun Feb 26, 2024
3e805fd
save
ryoqun Feb 26, 2024
2da4869
save
ryoqun Feb 26, 2024
ed6dc1b
save
ryoqun Feb 26, 2024
2f86b17
save
ryoqun Feb 26, 2024
9d08cbc
save
ryoqun Feb 26, 2024
b162bb5
save
ryoqun Feb 26, 2024
e9cace5
save
ryoqun Feb 26, 2024
71b77bb
save
ryoqun Feb 26, 2024
e124fd8
save
ryoqun Feb 26, 2024
a28a703
save
ryoqun Feb 26, 2024
63e0823
save
ryoqun Feb 26, 2024
e724204
save
ryoqun Feb 26, 2024
289de8a
save
ryoqun Feb 26, 2024
e082871
save
ryoqun Feb 26, 2024
ad8f6c0
save
ryoqun Feb 26, 2024
26c1ead
save
ryoqun Feb 26, 2024
5e3d05c
save
ryoqun Feb 26, 2024
24ea002
Make test_gradual_locking terminate for miri
ryoqun Feb 25, 2024
e15d9ae
save
ryoqun Feb 26, 2024
3f73350
save
ryoqun Feb 26, 2024
29726a6
save
ryoqun Feb 26, 2024
4bbbc4b
save
ryoqun Feb 26, 2024
9b17d62
save
ryoqun Feb 26, 2024
734ccc5
save
ryoqun Feb 26, 2024
15aefcc
save
ryoqun Feb 26, 2024
a407dc2
save
ryoqun Feb 26, 2024
69f8064
save
ryoqun Feb 26, 2024
cdcd532
save
ryoqun Feb 26, 2024
cf685ce
save
ryoqun Feb 26, 2024
31f6d2c
save
ryoqun Feb 26, 2024
38638c8
save
ryoqun Feb 26, 2024
ed334fa
save
ryoqun Feb 26, 2024
5f98241
save
ryoqun Feb 26, 2024
eb9aaf9
save
ryoqun Feb 26, 2024
465847f
save
ryoqun Feb 26, 2024
8044cc0
save
ryoqun Feb 26, 2024
c04367c
save
ryoqun Feb 26, 2024
4bf04fb
save
ryoqun Feb 26, 2024
9a1a4ba
save
ryoqun Feb 26, 2024
3880048
save
ryoqun Feb 26, 2024
c835fc2
save
ryoqun Feb 26, 2024
11b0d08
save
ryoqun Feb 26, 2024
64584bc
save
ryoqun Feb 26, 2024
5c2db91
save
ryoqun Feb 26, 2024
3a9ac3e
save
ryoqun Feb 26, 2024
6531698
save
ryoqun Feb 26, 2024
b9447ea
save
ryoqun Feb 26, 2024
c2bc68d
save
ryoqun Feb 26, 2024
7897607
save
ryoqun Feb 26, 2024
9989779
save
ryoqun Feb 26, 2024
274327f
save
ryoqun Feb 26, 2024
122a37b
save
ryoqun Feb 26, 2024
9ea75b1
save
ryoqun Feb 26, 2024
4324e1c
save
ryoqun Feb 26, 2024
a2c00f4
save
ryoqun Feb 26, 2024
e935724
save
ryoqun Feb 26, 2024
e464a31
save
ryoqun Feb 26, 2024
5b96da6
save
ryoqun Feb 26, 2024
ca316de
save
ryoqun Feb 26, 2024
2786a5b
save
ryoqun Feb 26, 2024
03dbde1
save
ryoqun Feb 26, 2024
3a8f963
save
ryoqun Feb 26, 2024
162cc08
save
ryoqun Feb 26, 2024
23d054d
save
ryoqun Feb 26, 2024
feaf7fa
save
ryoqun Feb 26, 2024
3b881be
save
ryoqun Feb 26, 2024
20810ef
save
ryoqun Feb 26, 2024
7f58ebf
save
ryoqun Feb 26, 2024
3786aca
save
ryoqun Feb 26, 2024
1f50a40
save
ryoqun Feb 26, 2024
b525f25
save
ryoqun Feb 26, 2024
94451c2
save
ryoqun Feb 26, 2024
15a20e0
save
ryoqun Feb 26, 2024
a4fc6c8
save
ryoqun Feb 26, 2024
67b8559
save
ryoqun Feb 26, 2024
eb921d3
save
ryoqun Feb 26, 2024
3c9fb04
save
ryoqun Feb 26, 2024
5c0eb82
save
ryoqun Feb 26, 2024
b9d8c04
save
ryoqun Feb 26, 2024
6f13ce6
save
ryoqun Feb 26, 2024
8091ca4
save
ryoqun Feb 26, 2024
3f9c777
save
ryoqun Feb 26, 2024
ebf6c31
save
ryoqun Feb 26, 2024
6ee043b
save
ryoqun Feb 26, 2024
c8ea5c5
save
ryoqun Feb 26, 2024
6557ea6
save
ryoqun Feb 26, 2024
acee9eb
save
ryoqun Feb 26, 2024
fc4c5de
save
ryoqun Feb 26, 2024
e77d57a
save
ryoqun Feb 26, 2024
a2d74c7
save
ryoqun Feb 26, 2024
efffc3f
save
ryoqun Feb 26, 2024
588c5d4
save
ryoqun Feb 26, 2024
18aa406
save
ryoqun Feb 26, 2024
e935010
save
ryoqun Feb 26, 2024
498060a
save
ryoqun Feb 26, 2024
6c436fc
save
ryoqun Feb 26, 2024
0eb69b6
save
ryoqun Feb 26, 2024
5f0b698
save
ryoqun Feb 26, 2024
b0279dc
save
ryoqun Feb 26, 2024
764227a
save
ryoqun Feb 26, 2024
aac325d
save
ryoqun Feb 26, 2024
6e5635f
save
ryoqun Feb 26, 2024
c8cb36a
save
ryoqun Feb 26, 2024
e0b3884
save
ryoqun Feb 26, 2024
b8f56c4
save
ryoqun Feb 26, 2024
94f6b49
save
ryoqun Feb 26, 2024
d85e713
save
ryoqun Feb 26, 2024
f6275bc
save
ryoqun Feb 26, 2024
5d44691
save
ryoqun Feb 26, 2024
a7c1405
save
ryoqun Feb 26, 2024
0dc5ed9
save
ryoqun Feb 26, 2024
7ceb23b
save
ryoqun Feb 26, 2024
fe8e532
save
ryoqun Feb 26, 2024
2eeb714
save
ryoqun Feb 26, 2024
8f87f48
save
ryoqun Feb 26, 2024
27b8b29
save
ryoqun Feb 26, 2024
ca6fd82
save
ryoqun Feb 26, 2024
4694726
save
ryoqun Feb 26, 2024
80c21e1
save
ryoqun Feb 26, 2024
42d39c6
sc opt
ryoqun Feb 26, 2024
31c4d34
Reduce unsafe
ryoqun Feb 26, 2024
49a1ee6
save
ryoqun Feb 26, 2024
97c00f0
Revert "Revert "disable jemalloc""
ryoqun Jan 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions ledger-tool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@ solana_rbpf = { workspace = true, features = ["debugger"] }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"] }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { workspace = true }

[dev-dependencies]
assert_cmd = { workspace = true }
bytecount = { workspace = true }
Expand Down
6 changes: 0 additions & 6 deletions ledger-tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,12 +529,6 @@ fn assert_capitalization(bank: &Bank) {
assert!(bank.calculate_and_verify_capitalization(debug_verify));
}

#[cfg(not(target_env = "msvc"))]
use jemallocator::Jemalloc;

#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;

#[allow(clippy::cognitive_complexity)]
fn main() {
Expand Down
2 changes: 1 addition & 1 deletion sdk/program/src/message/legacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ impl Message {
#[cfg(not(target_os = "solana"))]
pub fn hash(&self) -> Hash {
let message_bytes = self.serialize();
Self::hash_raw_message(&message_bytes)
Hash::default() // Self::hash_raw_message(&message_bytes)
}

/// Compute the blake3 hash of a raw transaction message.
Expand Down
11 changes: 11 additions & 0 deletions sdk/src/scheduling.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//! Primitive types relevant to transaction scheduling
#![cfg(feature = "full")]

#[derive(Debug, Clone, Copy)]
pub enum SchedulingMode {
BlockVerification,
}

pub trait WithSchedulingMode {
fn mode(&self) -> SchedulingMode;
}
6 changes: 3 additions & 3 deletions unified-scheduler-logic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ assert_matches = { workspace = true }
qualifier_attr = { workspace = true }
solana-sdk = { workspace = true }
static_assertions = { workspace = true }
#[[bench]]
#name = "bench-with-iai-callgrind"
#harness = false
[[bench]]
name = "bench-with-iai-callgrind"
harness = false

[dev-dependencies]
# See order-crates-for-publishing.py for using this unusual `path = "."`
Expand Down
Loading