[sgen] Don't increase degraded_mode in alloc_degraded().
authorMark Probst <mark.probst@gmail.com>
Wed, 8 Dec 2010 08:39:41 +0000 (09:39 +0100)
committerMark Probst <mark.probst@gmail.com>
Wed, 8 Dec 2010 08:39:41 +0000 (09:39 +0100)
commit71bae261fee852b555adfd2dd4a56d256eb15e7b
treed1a8b9a3788d9862da44a9ee57070d1b1f7e5bde
parentb8dde493c76f69ff0bbdafa84ea2bca7670a225e
[sgen] Don't increase degraded_mode in alloc_degraded().

Mature allocation uses the degraded allocation machinery to allocate
objects in the major space.  Modifying degraded_mode in those cases
will actually put us into degraded mode which slows us down immensely.
mono/metadata/sgen-gc.c