Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

GCDesc fixes - #1313

Merged
jkotas merged 1 commit into
dotnet:masterfrom
jkotas:gcdescs
May 23, 2016
Merged

jkotas merged 1 commit into
dotnet:masterfrom
jkotas:gcdescs

Conversation

@jkotas

@jkotas jkotas commented May 23, 2016

Copy link
Copy Markdown
Member
  • Fix base size in GCStaticEETypeNode GCDesc
  • Optimized GCDesc encoding for arrays of structs that are all GC pointers

- Fix base size in GCStaticEETypeNode GCDesc
- Optimized GCDesc encoding for arrays of structs that are all GC pointers
@jkotas

jkotas commented May 23, 2016

Copy link
Copy Markdown
Member Author

@MichalStrehovsky PTLA

@MichalStrehovsky

Copy link
Copy Markdown
Member

@dotnet-bot test this please

GCPointerMap pointerMap = GCPointerMap.FromInstanceLayout(elementDefType);
if (pointerMap.IsAllGCPointers)
{
EncodeAllGCPointersArrayGCDesc(ref builder, baseSize);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we need to fix GetGCDescSize to account for this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah, never mind.

@MichalStrehovsky

Copy link
Copy Markdown
Member

LGTM

@jkotas
jkotas merged commit 1b26490 into dotnet:master May 23, 2016
@jkotas
jkotas deleted the gcdescs branch May 23, 2016 18:42
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