Skip to content
Discussion options

You must be logged in to vote

The easiest way to do this is to modify the place that decides whether the compact, force it to never compact and build your own GC with this modification. Look for decide_on_compacting in gc.cpp.

First approach

The LOH threshold can be only set higher than the default. It cannot be set lower.

Second approach

Replacing CoreCLR GC with Boehm GC would be a major project (months of work to even build a working prototype).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@m-carrasco
Comment options

@jkotas
Comment options

jkotas Apr 12, 2023
Collaborator

Answer selected by m-carrasco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants