Skip to content

libjvm.dylib on macOS doesn't seem to export HotSpotVM globals #2

@char

Description

@char

Looking at nm it seems that the gHotSpotVM<X> symbols are set to local in libjvm.dylib from an AdoptOpenJDK installation.

If anyone knows how to still read the symbols, it'd be much appreciated.

It looks like async-profiler works fine on macOS: I think they're scanning the object itself to find the offset, and then doing arithmetic with the handle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions