summaryrefslogtreecommitdiff
path: root/src/gc/gcenv.ee.standalone.inl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc/gcenv.ee.standalone.inl')
-rw-r--r--src/gc/gcenv.ee.standalone.inl29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gc/gcenv.ee.standalone.inl b/src/gc/gcenv.ee.standalone.inl
index 31f3d1d8da..f6954fc476 100644
--- a/src/gc/gcenv.ee.standalone.inl
+++ b/src/gc/gcenv.ee.standalone.inl
@@ -207,6 +207,35 @@ ALWAYS_INLINE void GCToEEInterface::EnableFinalization(bool foundFinalizers)
g_theGCToCLR->EnableFinalization(foundFinalizers);
}
+ALWAYS_INLINE void GCToEEInterface::HandleFatalError(unsigned int exitCode)
+{
+ assert(g_theGCToCLR != nullptr);
+ g_theGCToCLR->HandleFatalError(exitCode);
+}
+
+ALWAYS_INLINE bool GCToEEInterface::ShouldFinalizeObjectForUnload(AppDomain* pDomain, Object* obj)
+{
+ assert(g_theGCToCLR != nullptr);
+ return g_theGCToCLR->ShouldFinalizeObjectForUnload(pDomain, obj);
+}
+
+ALWAYS_INLINE bool GCToEEInterface::ForceFullGCToBeBlocking()
+{
+ assert(g_theGCToCLR != nullptr);
+ return g_theGCToCLR->ForceFullGCToBeBlocking();
+}
+
+ALWAYS_INLINE bool GCToEEInterface::EagerFinalized(Object* obj)
+{
+ assert(g_theGCToCLR != nullptr);
+ return g_theGCToCLR->EagerFinalized(obj);
+}
+
+ALWAYS_INLINE MethodTable* GCToEEInterface::GetFreeObjectMethodTable()
+{
+ assert(g_theGCToCLR != nullptr);
+ return g_theGCToCLR->GetFreeObjectMethodTable();
+}
#undef ALWAYS_INLINE
#endif // __GCTOENV_EE_STANDALONE_INL__