Fix a potential division by 0 in post GC counter computation (dotnet/coreclr#26085)
authorSung Yoon Whang <suwhang@microsoft.com>
Thu, 8 Aug 2019 22:14:56 +0000 (15:14 -0700)
committerGitHub <noreply@github.com>
Thu, 8 Aug 2019 22:14:56 +0000 (15:14 -0700)
commit6f8275cf780dc61e92ddcc314540c71ba1fc540f
tree60d291f2854a74bb04beb3f3f89a2f7dabf86d63
parent3d86f94e7af7f9d931dd8e9c23dab2d93c283f0f
Fix a potential division by 0 in post GC counter computation (dotnet/coreclr#26085)

* Fix a potential division by 0 in post GC counter computation

* Remove useless code

Commit migrated from https://github.com/dotnet/coreclr/commit/740752c9d206a465e96a4d01e7dafb6adb6ded63
src/coreclr/src/gc/gcee.cpp