Fix OverflowException in b115557.cs GC test on systems with fewer than four processor...
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 6 Nov 2015 19:14:24 +0000 (20:14 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 16 Nov 2015 19:47:55 +0000 (20:47 +0100)
commit6bab1bfc3cd23bf71ed6375ca8d60567d56df286
tree8d0a1b106fe3fd023d6dd7c2765efae89cd8323a
parent1aad667d92f340cbff8d7a1c3d8252278a8537e4
Fix OverflowException in b115557.cs GC test on systems with fewer than four processors/cores

_allocPerThreadMB/2 can be larger than what fits into byte (because it's based on the number of processors/cores),
resulting in an OverflowException on those systems.
tests/src/GC/Stress/Tests/b115557.cs