Skip to content

OSR Test Failures #43534

Closed
Closed

Description

@AndyAyersMS

Two different types of failures have cropped up in the experimental OSR test runs

See test results.

  1. Assertion failed ppInfo->HasKeptAliveThis() in roslyn based tests
  2. Assertion failed pData->profiledRsp == (void*)ctx.Rsp in profiler tests

category:correctness
theme:osr
skill-level:expert
cost:medium

Activity

  1. added
    area-CodeGen-coreclr
    on Oct 16, 2020
  2. added this to the 6.0.0 milestone on Oct 16, 2020
  3. self-assigned this
    on Oct 16, 2020
  4. added
    untriaged
    on Oct 16, 2020
  5. removed
    untriaged
    on Oct 16, 2020
  6. added
    JitUntriaged
    on Oct 28, 2020
  7. removed
    JitUntriaged
    on Nov 7, 2020
  8. AndyAyersMS commented on Apr 12, 2021

    @AndyAyersMS
    MemberAuthor

    First set of failures is now fixed.

    The second set of failures are cases where we have a profiler leave hook in an OSR method. The jit is not passing back the expected value of the caller stack pointer, since it require more work to get this for OSR. This needs to be fixed both for windows and SysV. Here's the current code for the latter:

    // RSI = caller's SP
    if (compiler->lvaDoneFrameLayout == Compiler::FINAL_FRAME_LAYOUT)
    {
    int callerSPOffset = compiler->lvaToCallerSPRelativeOffset(0, isFramePointerUsed());
    GetEmitter()->emitIns_R_AR(INS_lea, EA_PTRSIZE, REG_ARG_1, genFramePointerReg(), -callerSPOffset);
    }
    else

  9. added a commit that references this issue on Jun 8, 2021
    536842f
  10. ghost added
    in-pr
    on Jun 8, 2021
  11. added a commit that references this issue on Jun 9, 2021
    3d13204
  12. ghost removed
    in-pr
    on Jun 9, 2021
  13. ghost locked as resolved and limited conversation to collaborators on Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclr

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions