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

Replenish executor cache eagerly during transaction processing #30425

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

pgarg66
Copy link
Contributor

@pgarg66 pgarg66 commented Feb 21, 2023

Problem

Need a path forward to remove AccountSharedData for executable/programs in message processing. Currently the programs are eagerly loaded but lazily verified and compiled, which necessitates passing their AccountSharedData to the loader built-in program.

Summary of Changes

Eagerly load, verify and compile programs in the cache so that all programs required for a transaction/batch are already present in the cache before the start of the transaction processing.

Fixes #

@pgarg66 pgarg66 force-pushed the eager-load-executor-cache branch 3 times, most recently from 6c90797 to a374c2b Compare February 21, 2023 22:25
@pgarg66 pgarg66 force-pushed the eager-load-executor-cache branch from a374c2b to 2550d4a Compare February 21, 2023 23:16
@pgarg66 pgarg66 marked this pull request as ready for review February 22, 2023 01:05
@pgarg66 pgarg66 requested a review from Lichtso February 22, 2023 01:05
@pgarg66 pgarg66 merged commit 0e13dcc into solana-labs:master Feb 23, 2023
@pgarg66 pgarg66 deleted the eager-load-executor-cache branch February 23, 2023 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants