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

Size IProfiler table based on info stored in SCC #20895

Open
mpirvu opened this issue Jan 9, 2025 · 0 comments
Open

Size IProfiler table based on info stored in SCC #20895

mpirvu opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels

Comments

@mpirvu
Copy link
Contributor

mpirvu commented Jan 9, 2025

The IProfiler hashtable is not resizable because it does not use any locks in order to limit overhead.
Bigger applications will create more IProfiler entries and the average length of the linked lists associated with the buckets in the IProfiler hashtable will increase, creating additional lookup overhead. On the other hand, creating too big of a spine for the IProfiler hashtable can lead to footprint increases.
This issue proposes to store a hint about the number of entries in the IProfiler table in the shared class cache. The subsequent JVMs can read the hint and create a correctly sized IProfiler table (assuming the the JVMs execute the same application/workload).

@mpirvu mpirvu added the comp:jit label Jan 9, 2025
@mpirvu mpirvu self-assigned this Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant