Adjust restart world logging level to match start major/nursery logging. (mono/mono...
authorJohan Lorensson <lateralusx.github@gmail.com>
Thu, 24 Oct 2019 08:57:56 +0000 (10:57 +0200)
committerZoltan Varga <vargaz@gmail.com>
Thu, 24 Oct 2019 08:57:55 +0000 (04:57 -0400)
commit07288e4c9281b5f103243b042d256f02e1b9af83
tree8b09769fcd52138f27c8f89f6a616b54088bf427
parentb6aa9e1125248a4c7cc4d7ffe3cbab101c37e9be
Adjust restart world logging level to match start major/nursery logging. (mono/mono#17520)

With this change we will get the following logging on level 1:

2019-10-22 15:46:59 Start nursery collection 38898 00000205A0000000-00000205A1000000, size: 16777216
2019-10-22 15:46:59 restarted (pause time: 2728 usec, max: 689233 usec)

showing the pause time and when runtime was restared, before this fix
we will only see the start log message on level 1.

Commit migrated from https://github.com/mono/mono/commit/fe7654f745c9b8ba030c9c4c1671904c6d9bda53
src/mono/mono/metadata/sgen-stw.c