Skip to content

crossgen2 JIT stress testing #58388

Open
Open

Description

@BruceForstall

Crossgen2 testing, such as the crossgen2 / r2r AzDO test jobs, work as follows:

  1. crossgen the framework
  2. crossgen every test
  3. Run the tests

Issues:

  1. For the modes that set the JIT stress variables, before running the tests, we set COMPlus variables, in the wrapper script. However, crossgen2 ignores environment variables so the compiled test doesn't get compiled with the stress mode. At best, if crossgen2 is compiled/run with a Checked JIT, crossgen2 itself might be compiled/run with the JIT stress mode.

  2. The JIT stress modes are not applied to the crossgen2 compilation of the framework assemblies

To do: decide exactly what should be affected by the JIT stress variables (presumably, the compilation of the framework and the compilation of each test; optionally, the compilation/run of crossgen2 itself), and adjust the AzDO pipelines to match.

@dotnet/jit-contrib

category:testing
theme:testing
skill-level:beginner
cost:small
impact:medium

Activity

  1. added
    JitStressCLR JIT issues involving JIT internal stress modes
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Aug 30, 2021
  2. added this to the 7.0.0 milestone on Aug 30, 2021
  3. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Aug 30, 2021
  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Aug 30, 2021
  5. modified the milestones: 7.0.0, 8.0.0 on May 24, 2022
  6. removed their assignment
    on May 24, 2022
  7. modified the milestones: 8.0.0, Future on Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    JitStressCLR JIT issues involving JIT internal stress modesarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions