Fix test StackCommitCommon
authornoahfalk <noahfalk@microsoft.com>
Fri, 15 Sep 2017 02:33:29 +0000 (19:33 -0700)
committernoahfalk <noahfalk@microsoft.com>
Fri, 15 Sep 2017 20:28:37 +0000 (13:28 -0700)
commit0b5e12c59d37778d98156ae19298b2152b886c6d
treec27f78b922cfa0b06301dd2fcdeb1a136a552f2e
parentf3dfbf546396db24f5fbc690213e89beaebd5f35
Fix test StackCommitCommon

This test will hang if run with non-optimized jitted code because it takes a dependency on exactly when locally allocated objects go out of scope. Although I doubt CLI spec guarantees the new code will always work either, it does work with the runtime/JIT as currently implemented.
tests/src/baseservices/threading/commitstackonlyasneeded/StackCommitCommon.cs