Skip to content

GC Gen size counters don't show on Linux in native AOT #87325

Closed
@eerhardt

Description

@eerhardt

Description

When running our native AOT benchmarks on Linux, we aren't seeing GC Gen 0/1/2 and LOH/POH Sizes show from dotnet-coutners:

image

But when running them on Windows, we do see all the numbers show up:

image

Reproduction Steps

On linux, publish an app with PublishAot=true. Then run it and run dotnet-counters monitor on the process.

Expected behavior

Should show values for Gen 0 Size (B), Gen 1 Size (B), etc.

Actual behavior

All those values have 0.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

cc @LakshanF @agocke @mao

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions