diff --git a/buildspecs/core.feature b/buildspecs/core.feature index c872769821d..8311061e5b9 100644 --- a/buildspecs/core.feature +++ b/buildspecs/core.feature @@ -110,6 +110,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex + diff --git a/buildspecs/j9.flags b/buildspecs/j9.flags index afa88a9dfbc..4ce728fc98c 100644 --- a/buildspecs/j9.flags +++ b/buildspecs/j9.flags @@ -1762,6 +1762,10 @@ Only available on zOS + + Enables support for JFR + No support for JFR + JITServer support is enabled in the buildspec. diff --git a/runtime/cmake/options.cmake b/runtime/cmake/options.cmake index 657f0bf9adc..28b882c8cbe 100644 --- a/runtime/cmake/options.cmake +++ b/runtime/cmake/options.cmake @@ -132,6 +132,7 @@ option(J9VM_OPT_DYNAMIC_LOAD_SUPPORT "Determines if the dynamic loader is includ option(J9VM_OPT_FIPS "Add supports for FIPS") option(J9VM_OPT_FRAGMENT_RAM_CLASSES "Transitional flag for the GC during the switch to fragmented RAM class allocation") +option(J9VM_OPT_JFR "Add support for JFR") option(J9VM_OPT_JVMTI "Support for the JVMTI interface") option(J9VM_OPT_JXE_LOAD_SUPPORT "Controls if main will allow -jxe: and relocate the disk image for you.") diff --git a/runtime/include/j9cfg.h.in b/runtime/include/j9cfg.h.in index f5b956e9cdb..bd324a63cef 100644 --- a/runtime/include/j9cfg.h.in +++ b/runtime/include/j9cfg.h.in @@ -221,6 +221,7 @@ extern "C" { #cmakedefine J9VM_OPT_INLINE_JSRS #cmakedefine J9VM_OPT_INVARIANT_INTERNING #cmakedefine J9VM_OPT_JAVA_OFFLOAD_SUPPORT +#cmakedefine J9VM_OPT_JFR #cmakedefine J9VM_OPT_JITSERVER #cmakedefine J9VM_OPT_JVMTI #cmakedefine J9VM_OPT_JXE_LOAD_SUPPORT