summaryrefslogtreecommitdiff
path: root/src/vm/appdomain.hpp
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2019-02-11 16:52:51 -0500
committerJan Kotas <jkotas@microsoft.com>2019-02-11 13:52:51 -0800
commit55dd4d44e5af6afd9ad8eef1ced2e8437c422269 (patch)
treed28232d700b7d305f5cbb179a29d078136678a07 /src/vm/appdomain.hpp
parent11b6d5e7d1061123bf65c7e6347b4fab356caff0 (diff)
downloadcoreclr-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.hpp6
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;