提交 2f0f77f8 编写于 作者: J Jan Kotas

Move runtime specific methods out of the runtime partition

Signed-off-by: Ndotnet-bot <dotnet-bot@microsoft.com>


Commit migrated from https://github.com/dotnet/coreclr/commit/f1ff212f4c2775d48b1a30cc0842ec9b42178ea8
上级 46ed1601
......@@ -588,25 +588,6 @@ private void ActivityChanging(AsyncLocalValueChangedArgs<ActivityInfo?> args)
// currently we do nothing, as that seems better than setting to Guid.Emtpy.
}
// Assembly load runtime activity name
private const string AssemblyLoadName = "AssemblyLoad";
/// <summary>
/// Called by the runtime to start an assembly load activity
/// </summary>
private static void StartAssemblyLoad(ref Guid activityId, ref Guid relatedActivityId)
{
Instance.OnStart(NativeRuntimeEventSource.Log.Name, AssemblyLoadName, 0, ref activityId, ref relatedActivityId, EventActivityOptions.Recursive);
}
/// <summary>
/// Called by the runtime to stop an assembly load activity
/// </summary>
private static void StopAssemblyLoad(ref Guid activityId)
{
Instance.OnStop(NativeRuntimeEventSource.Log.Name, AssemblyLoadName, 0, ref activityId);
}
/// <summary>
/// Async local variables have the property that the are automatically copied whenever a task is created and used
/// while that task is running. Thus m_current 'flows' to any task that is caused by the current thread that
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册