Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

JIT: recover types from helper calls and more #20447

Merged
merged 5 commits into from
Oct 24, 2018

Commits on Oct 16, 2018

  1. JIT: enhance ability to find ref classes for some trees

    The jit needs to recover class handles in order to devirtualize and
    do other type-based optimizations. This change allows the jit to find
    the type for more trees: in particular, helper calls, intrinsics, and
    expanded static field accesses.
    AndyAyersMS committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    2441b33 View commit details
    Browse the repository at this point in the history
  2. Annotate a few methods to control jit optimization

    We don't want to optimize special methods that are used to inform crossgen
    about desirable generic instantiations. `CommonlyUsedGenericInstantiations`
    was already annotated but `CommonlyUsedWinRTRedirectedInterfaceStubs` wasn't.
    
    Also because `RuntimeType` is sealed calls through types are now often
    devirtualized. Name lookups on types are frequent, especially on error paths.
    The method `GetCachedName` looks like an attractive inline but simply expands
    into a larger sequence of two other calls. So block it from being inlined.
    AndyAyersMS committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    90a00f4 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2018

  1. Configuration menu
    Copy the full SHA
    96b1c98 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6609911 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. review feedback

    AndyAyersMS committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    fea64cd View commit details
    Browse the repository at this point in the history