You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- It was only used for overflow scenarios from the generic dictionary (which don't happen), virtual resolution scenarios for creating delegates, and a few other rare R2R scenarios
- Replace the virtual resolution scenarios with a cache of the affected data in managed code, and move the helpers to managed
- Just remove the pointless checks from within the various normal generic lookup paths
Swap to using GenericCache
- Make FlushCurrentCache public on GenericCache, as we need to clear this when we clean up a LoaderAllocator
- Tweak algorithm for computing out of bound slots on the DictionaryLayout
Update crsttypes
result = (CORINFO_GENERIC_HANDLE)pMgr->GenerateStubIndirection(addr);
@@ -1284,6 +1278,8 @@ Dictionary::PopulateEntry(
1284
1278
1285
1279
MemoryBarrier();
1286
1280
1281
+
_ASSERTE(slotIndex != 0); // Technically this assert is invalid, but it will only happen if growing the dictionary layout attempts to grow beyond the capacity
1282
+
// of a 16 bit unsigned integer. This is highly unlikely to happen in practice, but possible, and will result in extremely degraded performance.
0 commit comments