Skip to content

[native] Enable monitoring option nmt when jfr monitoring option is enabled #50381

@jerboaa

Description

@jerboaa

Description

Mandrel 25 will add NMT monitoring support. As such, more JFR events would be available if NMT is enabled as well. For example jdk.NativeMemoryUsage et.al. It would be good to enable nmt together with JFR when the user so requests.

Implementation ideas

Check for the native image builder version and add --enable-monitoring=jfr,nmt when JFR is requested provided the added overhead is tolerable.

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