diff options
author | Sean Gillespie <segilles@microsoft.com> | 2017-07-20 21:53:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-20 21:53:46 -0700 |
commit | 0372174871c1e27f483c9877c2c5181720be8722 (patch) | |
tree | 16cbb72c8c7b95c9fff92e4e1fec329ae431a2e2 /src/gc/handletable.h | |
parent | fa3d1cdd5583d5b278dd1a9c246ff30ca6966973 (diff) | |
download | coreclr-0372174871c1e27f483c9877c2c5181720be8722.tar.gz coreclr-0372174871c1e27f483c9877c2c5181720be8722.tar.bz2 coreclr-0372174871c1e27f483c9877c2c5181720be8722.zip |
[Local GC] Refactor usage of GC-internal functions in the DAC (#12458)
* Refactor usage of GC-internal functions in the DAC
* Fix one debugger test failure, one to go
Diffstat (limited to 'src/gc/handletable.h')
-rw-r--r-- | src/gc/handletable.h | 10 |
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; |