Add test for GC.GetAllocatedBytesForCurrentThread (#16428)
authorSung Yoon Whang <suwhang@microsoft.com>
Tue, 27 Feb 2018 11:56:54 +0000 (03:56 -0800)
committerGitHub <noreply@github.com>
Tue, 27 Feb 2018 11:56:54 +0000 (03:56 -0800)
commitf761b8ee2adaf0bee0badcde5a3f22df518a31e9
treee31b30780571e0354e348ddb56902cae9a509a8c
parent2825e34ed4b63482d1a2a1b1aeb6c341a4d05a44
Add test for GC.GetAllocatedBytesForCurrentThread (#16428)

* Add test for GC.GetAllocatedBytesForCurrentThread

* modified test to fit coreclr test runner

* add testing with/without gc.collect()

* Address object size difference on x86 machines
tests/src/GC/API/GC/GetAllocatedBytesForCurrentThread.cs [new file with mode: 0755]
tests/src/GC/API/GC/GetAllocatedBytesForCurrentThread.csproj [new file with mode: 0644]