Skip to content

[release/11.0] Remove RCPC2 from the optimistic set on arm64 - #133701

Open
github-actions[bot] wants to merge 1 commit into
release/11.0from
backport/pr-133576-to-release/11.0
Open

github-actions[bot] wants to merge 1 commit into
release/11.0from
backport/pr-133576-to-release/11.0

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Backport of #133576 to release/11.0

/cc @BrzVlad

Customer Impact

  • Customer reported
  • Found internally

When this instruction set is included in the optimistic set, a significant amount of methods from ready to run are rejected on older devices (just a few years old), which leads to startup slowdown by around 10% on android. On Android, CoreCLR is already slightly behind Mono on startup, so this can give us a much needed boost on a significant amount of devices.

Regression

  • Yes
  • No

The fix itself is not for a regression, but users can experience worse perf without this fix, compared to previous mono based .net android.

Testing

Impact of removing this instruction set from the optimistic set was tested on multiple devices, with more detailed information available in dotnet/android#12722

Risk

Low. This simply removes a fairly new instruction set from the optimistic set on r2r.

Testing on android (dotnet/android#12722) showed
that older devices don't have rcpc2 instruction set available which
leads to significant r2r code rejection. This is a simpler, cross
platform fix for the issue, compared to exposing knobs to tweak the
optimistic set (#133514) and have
dotnet/android use them.

---------

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/crossgen-contrib
See info in area-owners.md if you want to be subscribed.

@BrzVlad BrzVlad added the Servicing-consider Issue for next servicing release review label Sep 11, 2026
@BrzVlad BrzVlad added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ReadyToRun Servicing-approved Approved for servicing release

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants