Skip to content

genLoadAddressConstantInSnippet Z API for profiled addresses #14775

Open
@Spencer-Comin

Description

@Spencer-Comin

Snippets generated by genLoadAddressConstantInSnippet are only patched on class unloading if they are created with an aloadi or aconst node, and profiled address constants aren't restricted to only aloadi and aconst nodes. Example: this issue came up in profile directed guarded devirtualization, where the node in question was a virtual call node. Either genLoadAddressConstantInSnippet needs to be updated to support profiled address constants or a new functions needs to be created to create snippets for profiled addresses that can be patched on class unloading.

Some discussion at #14272 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions