Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define suppressEA option and implement regular expression matching based on a location in IL #6872

Merged
merged 2 commits into from
Feb 1, 2023

Commits on Jan 30, 2023

  1. Define supresssEA option for downstream project

    This change introduces the suppressEA option.  The intent is that a
    downstream project can use the option to suppress stack allocations
    at matching locations that might be performed in an Escape Analysis
    optimization.
    hzongaro committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    a7a2d03 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Implement regex matching based on a location in a method

    This change defines a new SimpleRegex::match method that will match a
    regular expression against a location in a sequence of inlined method
    invocations that are described by a TR_ByteCodeInfo.  The
    TR_ByteCodeInfo is rendered as strings of the form
    
    and
    
    @<bc-offset>{#<inlined-method-sig>@<bc-offset>}*
    
    where each <bc-offset> is the bytecode offset from the start of a
    method, and each <method-sig> is the signature of the outermost method
    or an inlined method invocation.  If either string matches the specified
    regular expression, the match is successful.  That makes the outermost
    method signature optional in the specified regular expression.
    hzongaro committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    d4589b4 View commit details
    Browse the repository at this point in the history