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

Cleanup on gc bridge to support future optimizations #3252

Merged
merged 1 commit into from Jul 8, 2016

Conversation

xmcclure
Copy link
Contributor

@xmcclure xmcclure commented Jul 7, 2016

Consists mostly of

  • Comments
  • Consolidate duplicate dynarray implementations in new-bridge and tarjan-bridge into a single header full of statics

* The output of the SCC analysis is passed to the client's `cross_references()`
* callback. This consists of 2 arrays, an array of SCCs (MonoGCBridgeSCC),
* and an array of "xrefs" (edges between SCCs, MonoGCBridgeXRef). The edges
* are encoded as "API indices", ie indexes in the SCC array. The client is
Copy link
Contributor

Choose a reason for hiding this comment

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

It's not the edges that are encoded as API indices, but the SCC.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would "edges are encoded as pairs of 'API indices'" be a better wording?

@kumpera
Copy link
Contributor

kumpera commented Jul 8, 2016

LGTM

Consists mostly of
- Comments
- Consolidate duplicate dynarray implementations in new-bridge and
  tarjan-bridge into a single header full of statics
@xmcclure
Copy link
Contributor Author

xmcclure commented Jul 8, 2016

Rephrased the comment kumpera mentioned

@xmcclure xmcclure merged commit 0a8d5a0 into mono:master Jul 8, 2016
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Cleanup on gc bridge to support future optimizations

Commit migrated from mono/mono@0a8d5a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants