[mono] Stop setting time_date_stamp field in MonoImage (#66452)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 10 Mar 2022 21:47:57 +0000 (22:47 +0100)
committerGitHub <noreply@github.com>
Thu, 10 Mar 2022 21:47:57 +0000 (22:47 +0100)
commitd2826308964e4ee4496d6884e09811e1f709005e
treed93c4a9104d039cb5024106a26ef74e14d19403b
parent6cb2ae678fd4d2555b05edf611c7d5fa48cdc8a3
[mono] Stop setting time_date_stamp field in MonoImage (#66452)

We never read that field in the runtime and it was causing unnecessary disk IO during startup (5ms on my iOS device).
It was also never set on Windows already.
src/mono/mono/metadata/image.c
src/mono/mono/metadata/metadata-internals.h
src/mono/mono/utils/mono-proclib.c
src/mono/mono/utils/mono-proclib.h