-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-GC-coreclrneeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.no-recent-activity
Milestone
Description
Description
I want to experience region GC on .NET6.0, I just tried this libclrgc.so in my test environment and .NET6.0 is able to use it. But it has a very high memory usage.
Use dotMemory analyze the dump, gen0 has 173 heaps.

Reproduction Steps
Create a .NET6 project, place the following *.so in the same directory as coreclr.so
https://github.com/Maoni0/clrgc/tree/main/issues/80073/demotion_fix/v2/linux
Configure environment variables:
DOTNET_GCName=libclrgc.so
Run the program。
Expected behavior
There shouldn't be so much memory usage。
Actual behavior
Memory usage is several times higher than SegmentGC
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
cc @Maoni0
Metadata
Metadata
Assignees
Labels
area-GC-coreclrneeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.no-recent-activity
