Skip to content

Commit 4f6e1bf

Browse files
authored
Merge pull request ibmruntimes#381 from thallium/openj9
Enable JFR modules when JFR is enabled
2 parents a9c3b9a + 21b9b71 commit 4f6e1bf

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

closed/custom/common/Modules.gmk

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ===========================================================================
2-
# (c) Copyright IBM Corp. 2017, 2023 All Rights Reserved
2+
# (c) Copyright IBM Corp. 2017, 2024 All Rights Reserved
33
# ===========================================================================
44
# This code is free software; you can redistribute it and/or modify it
55
# under the terms of the GNU General Public License version 2 only, as
@@ -41,15 +41,20 @@ else
4141
#
4242
endif
4343

44+
ifeq (false,$(OPENJ9_ENABLE_JFR))
45+
MODULES_FILTER += \
46+
jdk.jfr \
47+
jdk.management.jfr \
48+
#
49+
endif
50+
4451
MODULES_FILTER += \
4552
jdk.aot \
4653
jdk.hotspot.agent \
4754
jdk.internal.vm.ci \
4855
jdk.internal.vm.compiler \
4956
jdk.internal.vm.compiler.management \
50-
jdk.jfr \
5157
jdk.jstatd \
52-
jdk.management.jfr \
5358
#
5459

5560
TOP_SRC_DIRS += \

0 commit comments

Comments
 (0)