diff options
author | David Mason <davmason@microsoft.com> | 2018-08-31 03:44:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 03:44:11 -0700 |
commit | d82fc2062925ced3fb5c479ff8db7ef61cc4f290 (patch) | |
tree | 8d43e9046e9ea2f1c882b6b752118ba7cc7025c0 | |
parent | 00a5ee589b565ebcd068c5851315a997848ed98c (diff) | |
download | coreclr-d82fc2062925ced3fb5c479ff8db7ef61cc4f290.tar.gz coreclr-d82fc2062925ced3fb5c479ff8db7ef61cc4f290.tar.bz2 coreclr-d82fc2062925ced3fb5c479ff8db7ef61cc4f290.zip |
Enable gc_profiling for local gc (#19777)
-rw-r--r-- | src/gc/gcinterface.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/gc/gcinterface.h b/src/gc/gcinterface.h index 55c755d0e1..6df1e66da8 100644 --- a/src/gc/gcinterface.h +++ b/src/gc/gcinterface.h @@ -174,10 +174,7 @@ struct segment_info }; #ifdef PROFILING_SUPPORTED -#ifndef BUILD_AS_STANDALONE -// [LOCALGC TODO] Enable profiling (GitHub #11515) #define GC_PROFILING //Turn on profiling -#endif // BUILD_AS_STANDALONE #endif // PROFILING_SUPPORTED #define LARGE_OBJECT_SIZE ((size_t)(85000)) @@ -923,12 +920,7 @@ struct ScanContext #else void* _unused1; #endif //FEATURE_APPDOMAIN_RESOURCE_MONITORING || DACCESS_COMPILE - -#if defined(GC_PROFILING) || defined (DACCESS_COMPILE) - MethodDesc *pMD; -#else - void* _unused2; -#endif //GC_PROFILING || DACCESS_COMPILE + void* pMD; #if defined(GC_PROFILING) || defined(FEATURE_EVENT_TRACE) EtwGCRootKind dwEtwRootKind; #else @@ -944,9 +936,7 @@ struct ScanContext stack_limit = 0; promotion = false; concurrent = false; -#ifdef GC_PROFILING pMD = NULL; -#endif //GC_PROFILING #if defined(GC_PROFILING) || defined(FEATURE_EVENT_TRACE) dwEtwRootKind = kEtwGCRootKindOther; #endif |