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

JIT: lay out memory to group executable code together #129231

Open
diegorusso opened this issue Jan 23, 2025 · 0 comments
Open

JIT: lay out memory to group executable code together #129231

diegorusso opened this issue Jan 23, 2025 · 0 comments
Assignees
Labels
topic-JIT type-feature A feature request or enhancement

Comments

@diegorusso
Copy link
Contributor

diegorusso commented Jan 23, 2025

When allocating memory to host JIT traces, we have the following layout:

  • code
  • data
  • trampolines
  • padding

We should group executable code together to improve icache locality. The new layout should be

  • code
  • trampolines
  • data
  • padding

Linked PRs

@diegorusso diegorusso self-assigned this Jan 23, 2025
@diegorusso diegorusso added the type-feature A feature request or enhancement label Jan 23, 2025
diegorusso added a commit to diegorusso/cpython that referenced this issue Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-JIT type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant