diff options
author | Brian Sullivan <briansul@microsoft.com> | 2017-04-22 04:16:25 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-04-22 04:16:25 -0700 |
commit | ea25e8d23626f1f5734016e7c9acb83546688a8e (patch) | |
tree | 163a27c61a53b78c3a79f9ef590ffbdb25837bbc /src/vm/dynamicmethod.h | |
parent | 35dc2a5f4323049f3035f8d14e2620ae44866239 (diff) | |
download | coreclr-ea25e8d23626f1f5734016e7c9acb83546688a8e.tar.gz coreclr-ea25e8d23626f1f5734016e7c9acb83546688a8e.tar.bz2 coreclr-ea25e8d23626f1f5734016e7c9acb83546688a8e.zip |
Two improvments for LCG jump stubs (dynamic methods): (#9160)
When requesting a jump stub block for LCG, ask for a block of 4 jump stubs instead of 32
Enable caching and cache lookup for LCG jump stubs
Diffstat (limited to 'src/vm/dynamicmethod.h')
-rw-r--r-- | src/vm/dynamicmethod.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vm/dynamicmethod.h b/src/vm/dynamicmethod.h index a96200ba4f..f9a92b0af0 100644 --- a/src/vm/dynamicmethod.h +++ b/src/vm/dynamicmethod.h @@ -107,6 +107,7 @@ class LCGMethodResolver : public DynamicResolver friend class ExecutionManager; friend class EEJitManager; friend class HostCodeHeap; + friend struct ExecutionManager::JumpStubCache; public: void Destroy(BOOL fDomainUnload = FALSE); @@ -162,7 +163,7 @@ private: ChunkAllocator m_jitTempData; DynamicStringLiteral* m_DynamicStringLiterals; IndCellList * m_UsedIndCellList; // list to keep track of all the indirection cells used by the jitted code - JumpStubBlockHeader* m_jumpStubBlock; + ExecutionManager::JumpStubCache * m_pJumpStubCache; }; // class LCGMethodResolver //--------------------------------------------------------------------------------------- |