projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba442a5
)
don't use r2r images when the profiler requests that ngen images are disabled
author
David Mason
<davmason@microsoft.com>
Tue, 25 Jul 2017 22:56:42 +0000
(15:56 -0700)
committer
David Mason
<davmason@microsoft.com>
Wed, 26 Jul 2017 01:05:02 +0000
(18:05 -0700)
src/vm/readytoruninfo.cpp
patch
|
blob
|
history
diff --git
a/src/vm/readytoruninfo.cpp
b/src/vm/readytoruninfo.cpp
index b85cf9a9c319603511eafe948a0fd503c9cf2710..56cfb60c5429d18077e3a4f9891d237ebe846452 100644
(file)
--- a/
src/vm/readytoruninfo.cpp
+++ b/
src/vm/readytoruninfo.cpp
@@
-348,7
+348,9
@@
BOOL ReadyToRunInfo::IsReadyToRunEnabled()
WRAPPER_NO_CONTRACT;
static ConfigDWORD configReadyToRun;
- return configReadyToRun.val(CLRConfig::EXTERNAL_ReadyToRun);
+ return configReadyToRun.val(CLRConfig::EXTERNAL_ReadyToRun) &&
+ !(CORProfilerDisableAllNGenImages()) &&
+ !(CORProfilerUseProfileImages());
}
// A log file to record success/failure of R2R loads. s_r2rLogFile can have the following values: