Skip to content

Make pool allocator stats from gc_page_fragmentation_stats more visible for Julia user code#58659

Merged
d-netto merged 1 commit intomasterfrom
dcn-refactor-fragmentation-stats
Jun 7, 2025
Merged

Make pool allocator stats from gc_page_fragmentation_stats more visible for Julia user code#58659
d-netto merged 1 commit intomasterfrom
dcn-refactor-fragmentation-stats

Conversation

@d-netto
Copy link
Copy Markdown
Member

@d-netto d-netto commented Jun 6, 2025

  • Mark gc_page_fragmentation_stats DLL_EXPORT so that we can load it through cglobal.
  • Avoid resetting data from gc_page_fragmentation_stats after sweeping to ensure it reflects the page stats from the last GC.
  • Some minor/cosmetic function renaming.

@d-netto
Copy link
Copy Markdown
Member Author

d-netto commented Jun 6, 2025

CC: @udesou, @qinsoon.

@d-netto d-netto force-pushed the dcn-refactor-fragmentation-stats branch 2 times, most recently from a9af5ae to 95419c4 Compare June 7, 2025 02:23
@d-netto d-netto force-pushed the dcn-refactor-fragmentation-stats branch from 95419c4 to b2913dd Compare June 7, 2025 02:25
@d-netto d-netto added the merge me PR is reviewed. Merge when all tests are passing label Jun 7, 2025
@d-netto d-netto merged commit 51214a7 into master Jun 7, 2025
7 of 8 checks passed
@d-netto d-netto deleted the dcn-refactor-fragmentation-stats branch June 7, 2025 09:07
@d-netto d-netto removed the merge me PR is reviewed. Merge when all tests are passing label Jun 7, 2025
nilesh646 pushed a commit to nilesh646/julia that referenced this pull request Jun 17, 2025
…le for Julia user code (JuliaLang#58659)

- Mark `gc_page_fragmentation_stats` DLL_EXPORT so that we can load it
through `cglobal`.
- Avoid resetting data from `gc_page_fragmentation_stats` after sweeping
to ensure it reflects the page stats from the last GC.
- Some minor/cosmetic function renaming.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GC Garbage collector

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant