-
Notifications
You must be signed in to change notification settings - Fork 9
Make cor prf disable optimizations non immutable #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make cor prf disable optimizations non immutable #288
Conversation
…y consistently on that module
…sDisabled() instead
…PRF_DISABLE_INLINING
Co-authored-by: Jan Kotas <[email protected]>
Closing and moving to other repo |
Reopening as I dont have write access in other repo |
{ | ||
profiler = new ClassLoad(); | ||
} | ||
else if (clsid == DynamicJitOptimizations::GetClsid()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simonferquel did you have the conflict in this file only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is for a test I introduced, change is legit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, the change is perfect!
I was curious about if this was the only conflicting place during backport as you've mentioned the conflicts
<ProjectReference Include="$(TestSourceDir)Common/CoreCLRTestLibrary/CoreCLRTestLibrary.csproj" /> | ||
<ProjectReference Include="../common/profiler_common.csproj" /> | ||
<CMakeProjectReference Include="$(MSBuildThisFileDirectory)/../native/CMakeLists.txt" /> | ||
<ProjectReference Include="../../tracing/eventpipe/common/eventpipe_common.csproj" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need a dependency on eventpipe_common
project?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I use it to intercept method loads in the test after requesting JITing of methods and check the optimization level.
There are similar tests in the CoreCLR test code base. Eventpipe_common brings helper to make intercepting events like that easier in tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, thanks, I can see the usage of IpcTraceTest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great addition to the api! thanks for the change and tests!
re-closing in favor of internal repo |
Backport of dotnet#113924