Remove AggressiveOptimization flag from System.Text (dotnet/coreclr#25356)
commit75dfa5c29884b8187a0f240dc074d7acf4a40622
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Mon, 24 Jun 2019 19:17:01 +0000 (24 21:17 +0200)
committerMarek Safar <marek.safar@gmail.com>
Mon, 1 Jul 2019 15:07:00 +0000 (1 17:07 +0200)
treea828006adeca3ca82ae86d0b489cf82ab2e95b48
parent8c20d5c67a774002404439950c9d60dfd0d0edf1
Remove AggressiveOptimization flag from System.Text (dotnet/coreclr#25356)

Based on conversation with Levi, I don't think this flag is needed.

The flag currently controls two things:
* Disqualifies the method from precompilation
* Disables Tier-0 JIT for the method

Removing the attribute allows us to precompile some of the methods (not all, because of `Vector<T>`). It measurably helps improve startup time because many of the attributed methods are complex and take a while to compile.

Once tier-1 JIT kicks in, the generated code should be identical to what we were getting before.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/Text/ASCIIUtility.cs
netcore/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Helpers.cs
netcore/System.Private.CoreLib/shared/System/Text/Unicode/Utf8Utility.Transcoding.cs