This repository has been archived by the owner on May 18, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve report of used size of MM datatypes
We now collect both how many bytes we want to allocate and how much memory libGC will consume and report this when reportSerializedSize is used. Also fixed a bug where the incorrect size was calculated for the GC overhead: GC uses 1 byte internally so a 15-byte allocation allocates a single 16-byte granule whereas a 16-byte allocation allocates 2 16- byte granules. This accounts for a 20% overhead that was not accounted for previously. Belonging to [master]: - #2228
- Loading branch information
1 parent
419eaa1
commit bf329a1
Showing
5 changed files
with
36 additions
and
42 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
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
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