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

Restrict special handling of MemorySegment methods to only the getters and setters #20696

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 27, 2024

  1. Only set RecognizedMethod info for MemorySegment getters and setters

    Other MemorySegment methods do not require special handling.
    
    Signed-off-by: Nazim Bhuiyan <[email protected]>
    nbhuiyan committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    0da8d25 View commit details
    Browse the repository at this point in the history
  2. Restrict peeking of MemorySegment method callers to only when needed

    Peeking of MemorySegment method callers are necessary for obtaining
    the known object info of the layout argument that is used for
    inlining the VarHandle operation methods. This fix restricts the
    peeking only to those methods that call the MemorySegment getter
    and setter methods, and reduces unnecessary peeking.
    
    Signed-off-by: Nazim Bhuiyan <[email protected]>
    nbhuiyan committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    63cae52 View commit details
    Browse the repository at this point in the history