runtime icon indicating copy to clipboard operation
runtime copied to clipboard

GCProfileWalkHeapWorker - Enable the function usage on Linux

Open ramarag opened this issue 11 years ago • 2 comments

As part of the work which enabled FEATURE_EVENT_TRACE for Linux, it was found that the function GCProfileWalkHeapWorker [src/gc/gcee.cpp] does not work properly to emit GC dump events.

This is because it needs functionality that is defined only under macro GC_PROFILING, this macro and associated files are not being pulled in as part of the Linux build process.

Please do the right thing to get the function working properly,

NOTE: this issue is actionable on completion of https://github.com/dotnet/coreclr/pull/1598

ramarag avatar Sep 28 '15 23:09 ramarag

Having looked at this, it appears that GCProfileWalkHeapWorker has enough implicit dependencies on PROFILING_SUPPORTED that it makes sense to wait to enable this until the work to turn on PROFILING_SUPPORTED is complete.

Selectively enabling some things that are currently under PROFILING_SUPPORTED will require carefully untangling several functions and global state variables, and will complicate things when PROFILING_SUPPORTED is really being enabled.

adityamandaleeka avatar Oct 14 '15 18:10 adityamandaleeka

Plans around profiling on Linux have changed drastically, so this issue is not relevant any longer.

lt72 avatar Mar 29 '17 20:03 lt72