summaryrefslogtreecommitdiff
path: root/src/gc/handletable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc/handletable.h')
-rw-r--r--src/gc/handletable.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gc/handletable.h b/src/gc/handletable.h
index a952ad799f..70959edf3b 100644
--- a/src/gc/handletable.h
+++ b/src/gc/handletable.h
@@ -63,6 +63,8 @@ void HndDestroyHandleTable(HHANDLETABLE hTable);
void HndSetHandleTableIndex(HHANDLETABLE hTable, uint32_t uTableIndex);
uint32_t HndGetHandleTableIndex(HHANDLETABLE hTable);
ADIndex HndGetHandleTableADIndex(HHANDLETABLE hTable);
+
+GC_DAC_VISIBLE
ADIndex HndGetHandleADIndex(OBJECTHANDLE handle);
#ifndef DACCESS_COMPILE
@@ -81,6 +83,7 @@ void HndSetHandleExtraInfo(OBJECTHANDLE handle, uint32_t uType, uintp
uintptr_t HndCompareExchangeHandleExtraInfo(OBJECTHANDLE handle, uint32_t uType, uintptr_t lOldExtraInfo, uintptr_t lNewExtraInfo);
#endif // !DACCESS_COMPILE
+GC_DAC_VISIBLE
uintptr_t HndGetHandleExtraInfo(OBJECTHANDLE handle);
/*
@@ -101,6 +104,7 @@ void HndLogSetEvent(OBJECTHANDLE handle, _UNCHECKED_OBJECTREF value);
/*
* NON-GC handle enumeration
*/
+GC_DAC_VISIBLE_NO_MANGLE
void HndEnumHandles(HHANDLETABLE hTable, const uint32_t *puType, uint32_t uTypeCount,
HANDLESCANPROC pfnEnum, uintptr_t lParam1, uintptr_t lParam2, bool fAsync);
@@ -112,7 +116,7 @@ void HndEnumHandles(HHANDLETABLE hTable, const uint32_t *puType, uint32_t uTypeC
#define HNDGCF_ASYNC (0x00000002) // drop the table lock while scanning
#define HNDGCF_EXTRAINFO (0x00000004) // iterate per-handle data while scanning
-
+GC_DAC_VISIBLE_NO_MANGLE
void HndScanHandlesForGC(HHANDLETABLE hTable,
HANDLESCANPROC scanProc,
uintptr_t param1,
@@ -168,7 +172,9 @@ BOOL HndFirstAssignHandle(OBJECTHANDLE handle, OBJECTREF objref);
* on the VM side.
*
*/
-FORCEINLINE OBJECTREF HndFetchHandle(OBJECTHANDLE handle)
+GC_DAC_VISIBLE
+FORCEINLINE
+OBJECTREF HndFetchHandle(OBJECTHANDLE handle)
{
WRAPPER_NO_CONTRACT;