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

MPL.GC structure for mpl-specific gc statistics #118

Merged
merged 1 commit into from
Jul 13, 2020

Conversation

shwestrick
Copy link
Collaborator

This makes some progress on #103 and #106.

The MPL.GC structures includes some statistics, including:

  • number of local GCs
  • time spent in local GC (wall-clock)
  • time spent in promotion before local GC (wall-clock)
  • bytes allocated (currently a bit funky, because includes fragmentation due to block allocation strategy)
  • bytes reclaimed by local GC (also funky, due to including benefits of defragmentation)

All of these statistics come in both global and per-processor flavors. The global amount is just the sum of per-processor values; it's just for convenience.

There is also a MPL.GC.currentHeapSize, but this not implemented yet. I plan to implement this in the future.

@shwestrick shwestrick merged commit 890195e into MPLLang:master Jul 13, 2020
@shwestrick shwestrick deleted the collection-stats branch July 13, 2020 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant