From 7b0ac0d9cd4a2ed141732a81bb7cf5bb0c46bc8d Mon Sep 17 00:00:00 2001 From: Jason Feng Date: Tue, 15 Oct 2024 17:48:28 -0400 Subject: [PATCH] JFR copy $(OPENJ9_TOPDIR)/runtime/metadata.blob to $(LIB_DST_DIR) Signed-off-by: Jason Feng --- closed/custom/modules/java.base/Copy.gmk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/closed/custom/modules/java.base/Copy.gmk b/closed/custom/modules/java.base/Copy.gmk index 872f8856ee0..55079e34274 100644 --- a/closed/custom/modules/java.base/Copy.gmk +++ b/closed/custom/modules/java.base/Copy.gmk @@ -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 @@ -187,6 +187,14 @@ $(call openj9_copy_files,, \ endif # OPENJ9_ENABLE_DDR +ifeq (true,$(OPENJ9_ENABLE_JFR)) + +$(call openj9_copy_files,, \ + $(OPENJ9_TOPDIR)/runtime/metadata.blob \ + $(LIB_DST_DIR)/metadata.blob) + +endif # OPENJ9_ENABLE_JFR + ########################################################################################## # Optionally copy OpenSSL Crypto Library # To bundle first search for openssl 1.1.x library, if not found, search for 1.0.x