Skip to content

Commit

Permalink
Enable JFR modules when JFR is enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Gengchen Tuo <gengchen.tuo@ibm.com>
  • Loading branch information
thallium committed Sep 10, 2024
1 parent bb457a6 commit fa81a52
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions closed/custom/common/Modules.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ===========================================================================
# (c) Copyright IBM Corp. 2017, 2023 All Rights Reserved
# (c) Copyright IBM Corp. 2017, 2024 All Rights Reserved
# ===========================================================================
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
Expand Down Expand Up @@ -41,15 +41,20 @@ else
#
endif

ifeq (false,$(OPENJ9_ENABLE_JFR))
MODULES_FILTER += \
jdk.jfr \
jdk.management.jfr \
#
endif

MODULES_FILTER += \
jdk.aot \
jdk.hotspot.agent \
jdk.internal.vm.ci \
jdk.internal.vm.compiler \
jdk.internal.vm.compiler.management \
jdk.jfr \
jdk.jstatd \
jdk.management.jfr \
#

TOP_SRC_DIRS += \
Expand Down

0 comments on commit fa81a52

Please sign in to comment.