diff options
author | Aaron Robinson <arobins@microsoft.com> | 2018-08-02 16:27:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 16:27:46 -0700 |
commit | 471f5c0c432cc1f2b7c9a84d801cfdda11f750e8 (patch) | |
tree | 5880a620aa63751d826bf879b6821c7e17cc27a7 /src/vm/profilinghelper.cpp | |
parent | e45ee4e0236da11c7f12f1e17087aeda0d37abe6 (diff) | |
download | coreclr-471f5c0c432cc1f2b7c9a84d801cfdda11f750e8.tar.gz coreclr-471f5c0c432cc1f2b7c9a84d801cfdda11f750e8.tar.bz2 coreclr-471f5c0c432cc1f2b7c9a84d801cfdda11f750e8.zip |
Remove unused/nop/questionable code (#19239)
* Remove unused holder code
* Remove NOP `IsV2RuntimeLoaded()` usage.
* Remove unused/nop/questionable code in util
* Remove unused V2Profiler message from resource
Diffstat (limited to 'src/vm/profilinghelper.cpp')
-rw-r--r-- | src/vm/profilinghelper.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vm/profilinghelper.cpp b/src/vm/profilinghelper.cpp index d711100cd7..03d4332352 100644 --- a/src/vm/profilinghelper.cpp +++ b/src/vm/profilinghelper.cpp @@ -1049,14 +1049,6 @@ HRESULT ProfilingAPIUtility::LoadProfiler( _ASSERTE(profilerCompatibilityFlag == kEnableV2Profiler); - // To prevent V2 profilers from AV, once a V2 profiler is already loaded by a V2 rutnime in the process, - // V4 runtime will not try to load the V2 profiler again. - if (IsV2RuntimeLoaded()) - { - LogProfInfo(IDS_PROF_V2PROFILER_ALREADY_LOADED, wszClsid); - return S_OK; - } - LOG((LF_CORPROF, LL_INFO10, "**PROF: COMPlus_ProfAPI_ProfilerCompatibilitySetting is set to EnableV2Profiler. " "The configured V2 profiler is going to be initialized.\n")); |