Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-06-09 02:21:02 +0300
committerJan Vorlicek <janvorli@microsoft.com>2016-06-09 17:55:52 +0300
commitbcd2d0a2a3b7f2c48b134975a9698dec039643b2 (patch)
tree0d82171c9ae8685720d29c2d094bdc5f4cfc13c1 /src/Native/Runtime/windows
parent8974bd09e2b430a5ee0aaaa25ac0f2162c3a048a (diff)
Fix stresslog
The stresslog in corert was not working properly due to the dummy definition of the logging macros in gcenv.base.h. I have moved those dummy macros to the gcenv.h of the GC sample and modified gcenv.h of the runtime to include the stressLog.h. I also had to change two calls to Object::GetMethodTable in the logging macros to Object::GetGCSafeMethodTable, since Object in CoreRT doesn't contains GetMethodTable.
Diffstat (limited to 'src/Native/Runtime/windows')
-rw-r--r--src/Native/Runtime/windows/PalRedhawkMinWin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Native/Runtime/windows/PalRedhawkMinWin.cpp b/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
index 792feacc4..a7637ae4f 100644
--- a/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
+++ b/src/Native/Runtime/windows/PalRedhawkMinWin.cpp
@@ -27,6 +27,7 @@ uint32_t PalEventWrite(REGHANDLE arg1, const EVENT_DESCRIPTOR * arg2, uint32_t a
return EventWrite(arg1, arg2, arg3, arg4);
}
+#define NO_STRESS_LOG
#include "gcenv.h"