Actually fix issue dotnet/coreclr#21484 reported by the customer. (dotnet/coreclr...
authorMike McLaughlin <mikem@microsoft.com>
Mon, 7 Jan 2019 21:33:29 +0000 (13:33 -0800)
committerGitHub <noreply@github.com>
Mon, 7 Jan 2019 21:33:29 +0000 (13:33 -0800)
commitf2caa09abc1eb6376d3af5105937d0532762e4e4
tree8711942b41a8013d0385263460034a2379209a2b
parenta57b000e5bbdd55b6c9ab5c93d379f89ed658b85
Actually fix issue dotnet/coreclr#21484 reported by the customer. (dotnet/coreclr#21850)

GC heap globals like ephemeral_heap_segment and finalize_queue are
null/invalid for a server GC. Add a check to skip the workstation GC
memory enumeration if server. The server memory enumeration already
skips if workstation GC.

Commit migrated from https://github.com/dotnet/coreclr/commit/101c99fdfe6c0c348fea615f6388d23a6e397fc6
src/coreclr/src/debug/daccess/request.cpp