Skip to content

Commit

Permalink
Do not include TruffleJfrFeature if PGO config is specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
jovanstevanovic committed Sep 4, 2024
1 parent 6ce252b commit 3ce4246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ public List<Class<? extends Feature>> getRequiredFeatures() {
}

private static boolean isEnabled() {
return ImageSingletons.contains(TruffleFeature.class) && ImageSingletons.contains(JfrFeature.class);
return ImageSingletons.contains(TruffleFeature.class) && JfrFeature.isInConfiguration(true);
}
}

0 comments on commit 3ce4246

Please sign in to comment.