Various fixes for scripting runtime

This commit is contained in:
Wojtek Figat
2022-04-07 22:03:42 +02:00
parent 5d0c27dff3
commit a9d66d6535
10 changed files with 40 additions and 14 deletions

View File

@@ -2,7 +2,6 @@
#include "MCore.h"
#include "MDomain.h"
#include "MClass.h"
#include "Engine/Core/Log.h"
#include "Engine/Core/Types/String.h"
#include "Engine/Core/Types/DateTime.h"
@@ -353,6 +352,9 @@ bool MCore::LoadEngine()
PROFILE_CPU();
ASSERT(Globals::MonoPath.IsANSI());
// Debugging Mono GC
//Platform::SetEnvironmentVariable(TEXT("MONO_GC_DEBUG"), TEXT("6:gc-log.txt,check-remset-consistency,nursery-canaries"));
#if 0
// Override memory allocation callback
// TODO: use ENABLE_OVERRIDABLE_ALLOCATORS when building Mono to support memory callbacks or use counters for memory profiling