dotnet / dotnet/performance

Allowing the total number of objects to vary in GCPerfSim

Open
#1,712 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
773
Forks
301
Avg merge
6d 9h
Merged PRs (30d)
15

Description

In order to fix the problem where GCPerfSim is not allocating as many bytes as specified by the arguments, I made a change to the processing of `ReferenceItemWithSize`. In particular, the original code intentionally made multiple allocations in a single `JustMakeObject` call in order to produce some variability in the total number of objects (and therefore the heap size) when the program runs while maintaining the heap size to be more or less close to the specified heap size.

Allowing the total number of objects to vary while also achieving the required allocation ratio is potentially feasible. This issue is filed to track the investigation there.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.