diff options
Diffstat (limited to 'src/vm/loaderallocator.hpp')
-rw-r--r-- | src/vm/loaderallocator.hpp | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/src/vm/loaderallocator.hpp b/src/vm/loaderallocator.hpp index 7237359666..e2c5dc5e1a 100644 --- a/src/vm/loaderallocator.hpp +++ b/src/vm/loaderallocator.hpp @@ -20,6 +20,9 @@ class FuncPtrStubs; #include "qcall.h" #include "ilstubcache.h" +#include "callcounter.h" +#include "methoddescbackpatchinfo.h" + #define VPTRU_LoaderAllocator 0x3200 enum LoaderAllocatorType @@ -225,8 +228,6 @@ protected: #endif private: - typedef SHash<PtrSetSHashTraits<LoaderAllocator * > > LoaderAllocatorSet; - LoaderAllocatorSet m_LoaderAllocatorReferences; Volatile<UINT32> m_cReferences; // This will be set by code:LoaderAllocator::Destroy (from managed scout finalizer) and signalizes that @@ -265,6 +266,14 @@ private: CrstExplicitInit m_InteropDataCrst; #endif +#ifdef FEATURE_TIERED_COMPILATION + CallCounter m_callCounter; +#endif + +#ifndef CROSSGEN_COMPILE + MethodDescBackpatchInfoTracker m_methodDescBackpatchInfoTracker; +#endif + #ifndef DACCESS_COMPILE public: @@ -570,6 +579,22 @@ public: #endif // FEATURE_COMINTEROP +#ifdef FEATURE_TIERED_COMPILATION +public: + CallCounter* GetCallCounter() + { + LIMITED_METHOD_CONTRACT; + return &m_callCounter; + } +#endif // FEATURE_TIERED_COMPILATION + +#ifndef CROSSGEN_COMPILE + MethodDescBackpatchInfoTracker *GetMethodDescBackpatchInfoTracker() + { + LIMITED_METHOD_CONTRACT; + return &m_methodDescBackpatchInfoTracker; + } +#endif }; // class LoaderAllocator typedef VPTR(LoaderAllocator) PTR_LoaderAllocator; |