-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark GC API functions as non-allocating
These might enable/disable garbage collection, but they don't themselves trigger a safepoint or allocate objects (in most cases). This does raise an interesting point: What should we do with `GC.safepoint()` and `GC.gc()`? They are technically not allocating, but many users may want to prohibit it anyway since they can trigger a GC pause.
- Loading branch information
1 parent
e62fa4f
commit d87f6ad
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters