Skip to content

[Libretto] Revisit and unify profiling settings #11086

@jbachorik

Description

@jbachorik

Inspect the current profiling configuration settings and make sure that for all GA feature there is one common configuration option which would pick the best possible implementation given the current environment.

An example would be to have profiling.liveheap.enabled to selectively enable either JFR OldObjectSample event or ddprof liveheap profiler, depending on the JVM version.

The old config options need to be kept for backward compatibility and for the possibility of overrides. Eg. if the user sets profiling.ddprof.liveheap.enabled=false together with profiling.liveheap.enabled=true it should mean that they want to use JFR even though the ddprof liveheap profiler is available.

Cross-references

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