Skip to content
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

Integrate changes from NativeAOT branch #53650

Merged
merged 2 commits into from
Jun 3, 2021
Merged

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jun 2, 2021

Includes faster virtual method enumerator that should help crossgen2 too

Includes faster virtual method enumerator that should help crossgen2 too
Copy link
Member

@MichalStrehovsky MichalStrehovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jkotas jkotas merged commit 0fcd769 into dotnet:main Jun 3, 2021
@jkotas jkotas deleted the nativeaot branch June 3, 2021 12:58
@@ -434,9 +450,6 @@ public static partial class MarshalHelpers
{
case NativeTypeKind.Array:
{
if (isField || isReturn)
Copy link
Member

@mangod9 mangod9 Jun 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removal of this check seems to have caused a regression compiling a test containing VT arrays of itself:

private VT[] _m_dummyGCRef;
.

This is now failing outerloop jobs since @trylek switched them to crossgen2 today.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please share link to the log?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is a log of one of today's outerloop runs. Its generating a stackoverflow with this stack:

         at Internal.TypeSystem.Interop.MarshalUtils.IsBlittableType(Internal.TypeSystem.TypeDesc)
         at Internal.TypeSystem.Interop.MarshalHelpers.GetArrayElementMarshallerKind(Internal.TypeSystem.ArrayType, Internal.TypeSystem.MarshalAsDescriptor, Boolean)
         at Internal.TypeSystem.Interop.MarshalHelpers.GetMarshallerKind(Internal.TypeSystem.TypeDesc, System.Nullable`1<Int32>, Internal.TypeSystem.EmbeddedSignatureData[], Internal.TypeSystem.MarshalAsDescriptor, Boolean, Boolean, Internal.TypeSystem.Interop.MarshallerType, Internal.TypeSystem.Interop.MarshallerKind ByRef)
         at Internal.TypeSystem.Interop.MarshalUtils.IsBlittableType(Internal.TypeSystem.TypeDesc)
         at Internal.TypeSystem.Interop.MarshalHelpers.GetArrayElementMarshallerKind(Internal.TypeSystem.ArrayType, Internal.TypeSystem.MarshalAsDescriptor, Boolean)
         at Internal.TypeSystem.Interop.MarshalHelpers.GetMarshallerKind(Internal.TypeSystem.TypeDesc, System.Nullable`1<Int32>, Internal.TypeSystem.EmbeddedSignatureData[], Internal.TypeSystem.MarshalAsDescriptor, Boolean, Boolean, Internal.TypeSystem.Interop.MarshallerType, Internal.TypeSystem.Interop.MarshallerKind ByRef)
         at Internal.TypeSystem.Interop.MarshalUtils.IsBlittableType(Internal.TypeSystem.TypeDesc)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants