Move Task's m_parent to ContingentProperties
authorstephentoub <stoub@microsoft.com>
Sun, 1 May 2016 22:25:07 +0000 (18:25 -0400)
committerStephen Toub <stoub@microsoft.com>
Mon, 30 May 2016 15:02:07 +0000 (11:02 -0400)
commitfe75c2696a1f4341babb0d11c8e666a6cff6fc0d
treef3d7ec2d4f0c10977afdd6094544513359673710
parent03dddf54baddca400cfb780a0420144dbd5f0675
Move Task's m_parent to ContingentProperties

Shrinks the size of Task by 10% in the common case (when ContingentProperties doesn't need to be expanded).

Commit migrated from https://github.com/dotnet/coreclr/commit/eae354bb59a357bc512c37f74db79e484933be4a
src/coreclr/src/mscorlib/src/System/Threading/Tasks/Task.cs
src/coreclr/src/mscorlib/src/System/Threading/Tasks/future.cs