Skip to content

JIT-EE interface clean up (tracking issue) #86672

Closed

Description

@EgorBo

I suggest to use this issue to store ideas of what we can clean up in the JIT-EE interface. So, when someone modifies it they can address these issues along the way to avoid bumping JIT-EE guid for single minor things:

To do:

  • recordRelocation has unused arg slotNum
  • isCompatibleDelegate is unused
  • mergeClasses is unused
  • satisfiesClassConstraints is unused
  • findNameOfToken is unused
  • getInlinedCallFrameVptr is unused
  • canAccessFamily is unused
  • isRIDClassDomainID is unused
  • isValidToken is unused (verification artifact?)
  • isValidStringRef is unused (verification artifact?)
  • tryResolveToken is unused
  • CORINFO_DESKTOP_ABI
  • getMethodModule

Initially, I wanted to file this issue with just 2 items but found more.

cc @dotnet/jit-contrib @jkotas

Activity

  1. ghost added
    needs-area-label
    on May 23, 2023
  2. ghost added
    untriaged
    on May 23, 2023
  3. added
    area-CodeGen-coreclr
    and removed
    untriaged
    needs-area-label
    on May 23, 2023
  4. added this to the Future milestone on May 23, 2023
  5. jkotas commented on May 23, 2023

    @jkotas
    Member

    classMustBeLoadedBeforeCodeIsRun and methodMustBeLoadedBeforeCodeIsRun are likely some NGen artifacts?

    These are still used by R2R compiler. It may be possible to get rid of them by refactoring the protocol, but I do not think it is safe to just delete them.

  6. MichalPetryka commented on May 30, 2023

    @MichalPetryka
    Contributor

    getMethodModule also seems to be unused.

  7. BruceForstall commented on Jun 16, 2023

    @BruceForstall
    Contributor

    Fixed with #87588

  8. ghost locked as resolved and limited conversation to collaborators on Jul 17, 2023
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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions