Replies: 3 comments 4 replies
-
you'll need to enable logging in the code first - uncomment these 2 lines in gcpriv.h -
this is not compiled in by default because this is the internal GC log and is mostly only meant to be used for active GC development. |
Beta Was this translation helpful? Give feedback.
-
you had them already - export DOTNET_GCLogEnabled=1 |
Beta Was this translation helpful? Give feedback.
-
you mean TRACE_GC is not defined? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, @Maoni0
How to open the GCLog ?
For example the runtime6.0,
I modify the
src/coreclr/gc/gcconfig.h
Also open the macros within the
gc/gcpriv.h
But the created file
/home/qiao/GCLogQiao.log.log
is empty.Beta Was this translation helpful? Give feedback.
All reactions