diff options
author | Stephen Toub <stoub@microsoft.com> | 2019-02-11 16:52:51 -0500 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-02-11 13:52:51 -0800 |
commit | 55dd4d44e5af6afd9ad8eef1ced2e8437c422269 (patch) | |
tree | d28232d700b7d305f5cbb179a29d078136678a07 /src/vm/appdomain.hpp | |
parent | 11b6d5e7d1061123bf65c7e6347b4fab356caff0 (diff) | |
download | coreclr-55dd4d44e5af6afd9ad8eef1ced2e8437c422269.tar.gz coreclr-55dd4d44e5af6afd9ad8eef1ced2e8437c422269.tar.bz2 coreclr-55dd4d44e5af6afd9ad8eef1ced2e8437c422269.zip |
Move GCHandle to shared (#22499)
* Move GCHandle to shared
* Cache the handle in a local to make it easier for JIT to generate good code
* Rename m_handle to _handle to match the coding conventions
* Delete isPinned argument for GCHandleInternalCompareExchange
* Add fast path to GCHandle.Alloc/Free FCalls
* Disable outdated test
Diffstat (limited to 'src/vm/appdomain.hpp')
-rw-r--r-- | src/vm/appdomain.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm/appdomain.hpp b/src/vm/appdomain.hpp index 94b663be06..b10ed26df2 100644 --- a/src/vm/appdomain.hpp +++ b/src/vm/appdomain.hpp @@ -1168,6 +1168,12 @@ public: // Handles #if !defined(DACCESS_COMPILE) && !defined(CROSSGEN_COMPILE) + IGCHandleStore* GetHandleStore() + { + LIMITED_METHOD_CONTRACT; + return m_handleStore; + } + OBJECTHANDLE CreateTypedHandle(OBJECTREF object, HandleType type) { WRAPPER_NO_CONTRACT; |