Skip to content

Commit

Permalink
Initialize gcCoverLock a bit earlier
Browse files Browse the repository at this point in the history
VSadov committed Mar 4, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent a8bf8de commit f412beb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/coreclr/src/vm/ceemain.cpp
Original file line number Diff line number Diff line change
@@ -964,6 +964,10 @@ void EEStartupHelper(COINITIEE fFlags)
SystemDomain::System()->PublishAppDomainAndInformDebugger(SystemDomain::System()->DefaultDomain());
#endif

#ifdef HAVE_GCCOVER
MethodDesc::Init();
#endif

#endif // CROSSGEN_COMPILE

SystemDomain::System()->Init();
@@ -1044,10 +1048,6 @@ void EEStartupHelper(COINITIEE fFlags)

#endif // _DEBUG

#ifdef HAVE_GCCOVER
MethodDesc::Init();
#endif

#endif // !CROSSGEN_COMPILE

ErrExit: ;

0 comments on commit f412beb

Please sign in to comment.