diff options
author | Stephen Toub <stoub@microsoft.com> | 2022-08-29 03:45:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 03:45:25 +0300 |
commit | 1e39df3ee7d3e4279810ffcd144580386b4e6c18 (patch) | |
tree | 869f7f4229d82314c4ac3fd6340c0d37fc4bc9f9 | |
parent | 48a3dbe5509f53f89db0a48c8285a2eec0758fea (diff) |
Fix mentioned default value of DOTNET_TC_OnStackReplacement_InitialCounterstephentoub-patch-1
-rw-r--r-- | docs/design/features/OsrDetailsAndDebugging.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/design/features/OsrDetailsAndDebugging.md b/docs/design/features/OsrDetailsAndDebugging.md index 60d697473c1..3ca35c2b919 100644 --- a/docs/design/features/OsrDetailsAndDebugging.md +++ b/docs/design/features/OsrDetailsAndDebugging.md @@ -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 @@ -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.
\ No newline at end of file +* [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. |