-
Notifications
You must be signed in to change notification settings - Fork 5.3k
CoreRT to NativeAOT renames #68950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoreRT to NativeAOT renames #68950
Conversation
|
Tagging subscribers to this area: @dotnet/area-meta Issue Detailsnull
|
|
This is the remaining cleanup for #68151 (comment) . Majority of remaining instances are links to archived issues that does not make sense to cleanup. |
fa15f9b to
bc9931e
Compare
| @@ -84,8 +84,7 @@ internal sealed unsafe class OverlappedData | |||
| } | |||
| } | |||
|
|
|||
| //CORERT: NativeOverlapped* pNativeOverlapped = (NativeOverlapped*)Interop.MemAlloc((UIntPtr)(sizeof(NativeOverlapped) + sizeof(GCHandle))); | |||
| NativeOverlapped* pNativeOverlapped = (NativeOverlapped*)Marshal.AllocHGlobal((IntPtr)(sizeof(NativeOverlapped) + sizeof(GCHandle))); | |||
| NativeOverlapped* pNativeOverlapped = (NativeOverlapped*)NativeMemory.Alloc((nuint)(sizeof(NativeOverlapped) + sizeof(GCHandle))); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have converted several other places that used Marshal.AllocHGlobal to NativeMemory.Alloc while I was on it.
| // Workaround for https://github.com/dotnet/runtime/issues/4731. | ||
| // When that's fixed, a [ThreadStatic] Stack should be added back to AllocFreeConcurrentStack<T>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bug has been fixed a long time ago. I have kept the workaround for netstandard builds.
| @@ -30,10 +30,6 @@ public partial class Exception | |||
|
|
|||
| private static string? SerializationWatsonBuckets => null; | |||
|
|
|||
| // WARNING: We allow diagnostic tools to directly inspect these three members (_message, _innerException and _HResult) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete these comments from everywhere. They were specific to .NET Native for UWP debugger that we do not care about anymore.
| @@ -145,8 +145,6 @@ class ICodeManager | |||
| PTR_PTR_VOID * ppvRetAddrLocation, // out | |||
| GCRefKind * pRetValueKind) = 0; // out | |||
|
|
|||
| virtual void UnsynchronizedHijackMethodLoops(MethodInfo * pMethodInfo) = 0; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was specific to .NET Native for UWP. We do not need it anymore.
| @@ -13,20 +13,13 @@ | |||
| a target called ComputeFilesToPublish which produces the ItemGroup | |||
| ResolvedFileToPublish based on the inputs of @(IntermediateAssembly) | |||
| and @(ResolvedAssembliesToPublish). We modify those two item groups | |||
| to control what gets published after CoreRT optimizes the application. | |||
|
|
|||
| For .NET Core 3.0: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleting support for older .NET SDKs. We support .NET 6+ SDK only.
No description provided.