mmtk / mmtk-core

Memory Management ToolKit
https://www.mmtk.io
Other
379 stars 69 forks source link

Return whether a GC was ran or not for `handle_user_collection_request` #1204

Closed k-sareen closed 2 months ago

k-sareen commented 2 months ago

This is useful if the binding wants to know if a GC was actually ran or not. For example, they may have set some state in preparation of a GC, but if a GC didn't run then they would want to reset the state.