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

Note interactions between JIT optimizations and stack root reporting #8819

Merged
merged 3 commits into from
Nov 2, 2018

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Nov 2, 2018

Add a short note about interactions between JIT optimizations and stack root reporting since it is frequently discussed topic. The full discussion is in https://github.com/dotnet/coreclr/issues/5826#issuecomment-226574611

Add a short note about interactions between JIT optimizations and stack root reporting since it is frequently discussed topic. The full discussion is in https://github.com/dotnet/coreclr/issues/5826#issuecomment-226574611
@@ -166,7 +166,7 @@ ms.author: "ronpet"

The garbage collector uses the following information to determine whether objects are live:

- **Stack roots**. Stack variables provided by the just-in-time (JIT) compiler and stack walker.
- **Stack roots**. Stack variables provided by the just-in-time (JIT) compiler and stack walker. Note that JIT optimizations can lengthen and shorten region of code within which the stack variable is reported to the garbage collector.
Copy link
Member

@stephentoub stephentoub Nov 2, 2018

Choose a reason for hiding this comment

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

Both optimizations and debug flags, right? (Though I guess the latter could be assumed as just lack of optimizations?)

Also nit: "region of code" => "regions of code" or "the region of code"

Copy link
Contributor

@rpetrusha rpetrusha left a comment

Choose a reason for hiding this comment

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

LGTM, @jkotas. Left a couple of suggested changes.

@@ -166,7 +166,7 @@ ms.author: "ronpet"

The garbage collector uses the following information to determine whether objects are live:

- **Stack roots**. Stack variables provided by the just-in-time (JIT) compiler and stack walker.
- **Stack roots**. Stack variables provided by the just-in-time (JIT) compiler and stack walker. Note that JIT optimizations can lengthen and shorten region of code within which the stack variable is reported to the garbage collector.
Copy link
Contributor

Choose a reason for hiding this comment

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

region of code --> the region of code
the stack variable is --> stack variables are

@rpetrusha
Copy link
Contributor

Thanks for making the changes, @jkotas. I'll merge your PR now.

@rpetrusha rpetrusha merged commit f94de4e into master Nov 2, 2018
@delete-merged-branch delete-merged-branch bot deleted the jkotas-patch-1 branch November 2, 2018 23:23
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.

3 participants