Skip to content

Rework how JFR events are disabled based on JVM version - #2858

Merged
luhenry merged 2 commits into
DataDog:masterfrom
luhenry:event-disable-on-version
Jun 30, 2021
Merged

luhenry merged 2 commits into
DataDog:masterfrom
luhenry:event-disable-on-version

Conversation

@luhenry

@luhenry luhenry commented Jun 29, 2021

Copy link
Copy Markdown
Contributor

We want to disable events enabled by default in dd.jfp based on the
version. For example, OldObjectSample or NativeMethodSample have poor
performance on older versions. We don't want to penalize customers who
are on these older versions and just use the default profile.

However, we still want to allow users to override any settings they
want as they may have perfectly valid reasons to do so and to accept to
pay the cost for them.

@luhenry
luhenry requested a review from jbachorik June 29, 2021 08:45
@luhenry
luhenry requested review from a team as code owners June 29, 2021 08:45
We want to disable events enabled by default in dd.jfp based on the
version. For example, OldObjectSample or NativeMethodSample have poor
performance on older versions. We don't want to penalize customers who
are on these older versions and just use the default profile.

However, we still want to allow users to override any settings they
want as they may have perfectly valid reasons to do so and to accept to
pay the cost for them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants