Skip to content

Disable badinlinee on unsupported configurations - #134309

Merged
AndyAyersMS merged 1 commit into
dotnet:mainfrom
AndyAyersMS:fix-badinlinee-browser-quarantine
Sep 20, 2026
Merged

AndyAyersMS merged 1 commit into
dotnet:mainfrom
AndyAyersMS:fix-badinlinee-browser-quarantine

Conversation

@AndyAyersMS

Copy link
Copy Markdown
Member

The badinlinee regression test requires tiered optimizing-JIT behavior to inline Base.M() and eliminate the measured allocation. Browser CoreCLR currently relies on the interpreter for this configuration, where tiered compilation is disabled, causing the deterministic 12,000-byte allocation failure.

Exclude the test only for browser CoreCLR and mark it interpreter-incompatible. This follows the existing pattern used by ObjectStackAllocationTests while preserving coverage on optimizing-JIT configurations.

Validation:

  • build.cmd clr+libs -lc release -rc checked
  • Targeted Windows x64 Checked test build
  • badinlinee.cmd passed with expected exit code 100
  • Browser CoreCLR project evaluation sets _WillCLRTestProjectBuild=false
  • Windows CoreCLR project evaluation keeps _WillCLRTestProjectBuild=true
  • Generated interpreter skip path exits successfully

Resolves #134169

Note

This pull request description was generated with GitHub Copilot.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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: @JulieLeeMSFT, @BrzVlad, @janvorli
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved review issues remain, and all reviewers assessed it as ready.

Review effort: Lite
Findings: None

What changed in this PR

Updates the badinlinee JIT regression test to avoid unsupported configurations while preserving supported coverage.

Changes:

  • Excludes browser CoreCLR.
  • Marks the test incompatible with interpreter execution.
File Description
src/​tests/​JIT/​opt/​GuardedDevirtualization/​badinlinee.csproj Adds browser-CoreCLR exclusion and interpreter incompatibility metadata.

@AndyAyersMS

Copy link
Copy Markdown
Member Author

@dotnet/wasm-contrib ptal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ci-scan] Test failure: JIT/opt/GuardedDevirtualization/badinlinee on browser wasm checked

4 participants