summaryrefslogtreecommitdiff
path: root/src/gc/sample/GCSample.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-02-07 10:17:45 -0800
committerGitHub <noreply@github.com>2019-02-07 10:17:45 -0800
commit46cbd93c20780bcacd9f39fe18079acf2a9f4178 (patch)
tree560b624f2aa28894d16ba410b7aae4d726851cef /src/gc/sample/GCSample.cpp
parentf340a5f9248bf90a9acb58231f8aebe0189eb6ef (diff)
downloadcoreclr-46cbd93c20780bcacd9f39fe18079acf2a9f4178.tar.gz
coreclr-46cbd93c20780bcacd9f39fe18079acf2a9f4178.tar.bz2
coreclr-46cbd93c20780bcacd9f39fe18079acf2a9f4178.zip
Fix GCSample bit rot (#22462)
Fixes #22459
Diffstat (limited to 'src/gc/sample/GCSample.cpp')
-rw-r--r--src/gc/sample/GCSample.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gc/sample/GCSample.cpp b/src/gc/sample/GCSample.cpp
index 4248d92256..4e228509dc 100644
--- a/src/gc/sample/GCSample.cpp
+++ b/src/gc/sample/GCSample.cpp
@@ -119,14 +119,6 @@ int __cdecl main(int argc, char* argv[])
return -1;
}
- //
- // Initialize free object methodtable. The GC uses a special array-like methodtable as placeholder
- // for collected free space.
- //
- static MethodTable freeObjectMT;
- freeObjectMT.InitializeFreeObject();
- g_gc_pFreeObjectMethodTable = &freeObjectMT;
-
//
// Initialize GC heap
//