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:
c77ef76
)
Don't close the JIT func info file on shutdown (#18060)
author
Koundinya Veluri
<kouvel@users.noreply.github.com>
Mon, 25 Jun 2018 16:41:51 +0000
(09:41 -0700)
committer
Jan Kotas
<jkotas@microsoft.com>
Mon, 25 Jun 2018 16:41:51 +0000
(09:41 -0700)
During shutdown there can be a race between closing/nulling `compJitFuncInfoFile` in `compShutdown` and a background thread trying to write to it after checking that it was not null.
src/jit/compiler.cpp
patch
|
blob
|
history
diff --git
a/src/jit/compiler.cpp
b/src/jit/compiler.cpp
index
9706ece
..
67675fc
100644
(file)
--- a/
src/jit/compiler.cpp
+++ b/
src/jit/compiler.cpp
@@
-1462,14
+1462,6
@@
void Compiler::compShutdown()
}
#endif // FEATURE_JIT_METHOD_PERF
-#if FUNC_INFO_LOGGING
- if (compJitFuncInfoFile != nullptr)
- {
- fclose(compJitFuncInfoFile);
- compJitFuncInfoFile = nullptr;
- }
-#endif // FUNC_INFO_LOGGING
-
#if COUNT_RANGECHECKS
if (optRangeChkAll > 0)
{