Skip to content

Commit df7e090

Browse files
author
Andrey Petushkov
committed
8223147: JFR Backport
8199712: Flight Recorder 8203346: JFR: Inconsistent signature of jfr_add_string_constant 8195817: JFR.stop should require name of recording 8195818: JFR.start should increase autogenerated name by one 8195819: Remove recording=x from jcmd JFR.check output 8203921: JFR thread sampling is missing fixes from JDK-8194552 8203929: Limit amount of data for JFR.dump 8203664: JFR start failure after AppCDS archive created with JFR StartFlightRecording 8003209: JFR events for network utilization 8207392: [PPC64] Implement JFR profiling Backport JFR from JDK11. Initial integration Reviewed-by: neugens
1 parent 5d67e6b commit df7e090

File tree

842 files changed

+98978
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

842 files changed

+98978
-20
lines changed

jdk/make/CopyFiles.gmk

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,4 +594,15 @@ COPY_FILES += $(JDK_OUTPUTDIR)/lib/sound.properties
594594

595595
##########################################################################################
596596

597+
$(JDK_OUTPUTDIR)/lib/jfr/%: $(JDK_TOPDIR)/src/share/classes/jdk/jfr/conf/%
598+
$(call install-file)
599+
600+
ifeq ($(ENABLE_JFR), true)
601+
COPY_FILES += $(subst $(JDK_TOPDIR)/src/share/classes/jdk/jfr/conf, \
602+
$(JDK_OUTPUTDIR)/lib/jfr, \
603+
$(wildcard $(JDK_TOPDIR)/src/share/classes/jdk/jfr/conf/*))
604+
endif
605+
606+
##########################################################################################
607+
597608
-include $(CUSTOM_MAKE_DIR)/CopyFiles.gmk

jdk/make/CopyIntoClasses.gmk

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@ ifndef OPENJDK
9292
endif
9393

9494
ifeq ($(ENABLE_JFR), true)
95-
JFR_CONFIGURATION_DIR_CLOSED = $(JDK_TOPDIR)/src/closed/share/classes/oracle/jrockit/jfr/settings
96-
COPY_FILES += \
97-
$(JFR_CONFIGURATION_DIR_CLOSED)/jfc.xsd
95+
# JFR_CONFIGURATION_DIR_CLOSED = $(JDK_TOPDIR)/src/closed/share/classes/oracle/jrockit/jfr/settings
96+
# COPY_FILES += \
97+
# $(JFR_CONFIGURATION_DIR_CLOSED)/jfc.xsd
98+
# COPY_FILES += \
99+
# $(HOTSPOT_DIST)/jre/lib/metadata.xml
98100
endif
99101

100102
SWING_PLAF_BASIC_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/basic

jdk/make/CreateJars.gmk

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ RT_JAR_EXCLUDES += \
211211
sun/util/cldr/CLDRLocaleDataMetaInfo.class \
212212
sun/util/resources/cldr \
213213
$(LOCALEDATA_INCLUDES) \
214-
com/oracle/jrockit/jfr \
215-
oracle/jrockit/jfr \
214+
jdk/management/jfr \
216215
jdk/jfr
217216

218217
# Find all files in the classes dir to use as dependencies. This could be more fine granular.
@@ -400,20 +399,17 @@ $(eval $(call SetupArchive,BUILD_CHARSETS_JAR, , \
400399

401400
##########################################################################################
402401

403-
ifndef OPENJDK
404-
ifeq ($(ENABLE_JFR), true)
405-
$(eval $(call SetupArchive,BUILD_JFR_JAR, , \
406-
SRCS := $(JDK_OUTPUTDIR)/classes, \
407-
SUFFIXES := .class .jfc .xsd, \
408-
INCLUDES := com/oracle/jrockit/jfr \
409-
oracle/jrockit/jfr \
410-
jdk/jfr, \
411-
JAR := $(IMAGES_OUTPUTDIR)/lib/jfr.jar, \
412-
SKIP_METAINF := true, \
413-
MANIFEST := $(MAINMANIFEST), \
414-
CHECK_COMPRESS_JAR := true))
402+
ifeq ($(ENABLE_JFR), true)
403+
$(eval $(call SetupArchive,BUILD_JFR_JAR, , \
404+
SRCS := $(JDK_OUTPUTDIR)/classes $(HOTSPOT_DIST)/jre/lib, \
405+
SUFFIXES := .class .jfc .xsd .xml, \
406+
INCLUDES := jdk/management/jfr \
407+
jdk/jfr, \
408+
JAR := $(IMAGES_OUTPUTDIR)/lib/jfr.jar, \
409+
SKIP_METAINF := true, \
410+
MANIFEST := $(MAINMANIFEST), \
411+
CHECK_COMPRESS_JAR := true))
415412

416-
endif
417413
endif
418414

419415
##########################################################################################

0 commit comments

Comments
 (0)