Skip to content

Commit

Permalink
Fix mentioned default value of DOTNET_TC_OnStackReplacement_InitialCo…
Browse files Browse the repository at this point in the history
…unter (dotnet#74729)
  • Loading branch information
stephentoub authored Aug 29, 2022
1 parent 8c4e6e2 commit 11f65fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/design/features/OsrDetailsAndDebugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ During the patchpoint phase, if any block was marked, the jit adds a
new integer local to the method (the patchpoint counter) and adds IR
to initialize the counter on method entry to the value of
`DOTNET_TC_OnStackReplacement_InitialCounter` (by default this is
0x1000).
1000).

At each marked block the JIT adds code to decrement the counter and
conditionally invoke `CORINFO_HELP_PATCHPOINT` if the counter value is zero
Expand Down Expand Up @@ -492,4 +492,4 @@ In the performance repo configurations we reduce the number of warmup iterations
## References

* [OSR Design Document](https://github.com/dotnet/runtime/blob/main/docs/design/features/OnStackReplacement.md). May be a bit dated in places.
* [OSR Next Steps Issue](https://github.com/dotnet/runtime/issues/33658). Has a lot of information on issues encountered during bring-up, current limitations, and ideas for things we might revisit.
* [OSR Next Steps Issue](https://github.com/dotnet/runtime/issues/33658). Has a lot of information on issues encountered during bring-up, current limitations, and ideas for things we might revisit.

0 comments on commit 11f65fd

Please sign in to comment.