Skip to content

Commit 2932144

Browse files
committed
8343305: Remove Indify-dependent microbenchmarks
Reviewed-by: liach, ihse, erikj
1 parent 34655c6 commit 2932144

File tree

4 files changed

+1
-562
lines changed

4 files changed

+1
-562
lines changed

make/test/BuildMicrobenchmark.gmk

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ MICROBENCHMARK_CLASSES := $(MICROBENCHMARK_OUTPUT)/classes
4949
MICROBENCHMARK_JAR_BIN := $(MICROBENCHMARK_OUTPUT)/jar
5050

5151
MICROBENCHMARK_TOOLS_CLASSES := $(MICROBENCHMARK_OUTPUT)/tools-classes
52-
MICROBENCHMARK_INDIFY_DONE := $(MICROBENCHMARK_CLASSES)/_indify.marker
5352

5453
JMH_UNPACKED_DIR := $(MICROBENCHMARK_OUTPUT)/jmh_jars
5554
JMH_UNPACKED_JARS_DONE := $(JMH_UNPACKED_DIR)/_unpacked.marker
@@ -71,17 +70,6 @@ MICROBENCHMARK_MANIFEST := Build: $(FULL_VERSION)\n\
7170
\nJMH-Version: $(JMH_VERSION)\n\
7271
\nName: OpenJDK Microbenchmark Suite
7372

74-
#### Compile Indify tool
75-
76-
$(eval $(call SetupJavaCompilation, BUILD_INDIFY, \
77-
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
78-
SRC := $(TOPDIR)/test/jdk/java/lang/invoke, \
79-
INCLUDE_FILES := indify/Indify.java, \
80-
DISABLED_WARNINGS := this-escape rawtypes serial options, \
81-
BIN := $(MICROBENCHMARK_TOOLS_CLASSES), \
82-
JAVAC_FLAGS := -XDstringConcat=inline -Xprefer:newer, \
83-
))
84-
8573
#### Compile Targets
8674

8775
# Building microbenchmark requires the jdk.unsupported and java.management modules.
@@ -124,14 +112,6 @@ $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
124112

125113
$(BUILD_JDK_MICROBENCHMARK): $(JMH_COMPILE_JARS)
126114

127-
# Run Indify
128-
$(MICROBENCHMARK_INDIFY_DONE): $(BUILD_INDIFY) $(BUILD_JDK_MICROBENCHMARK)
129-
$(call LogWarn, Running Indify on microbenchmark classes)
130-
$(JAVA_SMALL) -cp $(MICROBENCHMARK_TOOLS_CLASSES) \
131-
indify.Indify --overwrite $(MICROBENCHMARK_CLASSES) \
132-
$(LOG_DEBUG) 2>&1
133-
$(TOUCH) $@
134-
135115
# Unpacking dependencies for inclusion in the benchmark JARs
136116
$(JMH_UNPACKED_JARS_DONE): $(JMH_RUNTIME_JARS)
137117
$(RM) -r $(JMH_UNPACKED_DIR)
@@ -144,8 +124,7 @@ $(JMH_UNPACKED_JARS_DONE): $(JMH_RUNTIME_JARS)
144124

145125
# Create benchmarks JAR file with benchmarks for both the old and new JDK
146126
$(eval $(call SetupJarArchive, BUILD_JDK_JAR, \
147-
DEPENDENCIES := $(BUILD_JDK_MICROBENCHMARK) $(JMH_UNPACKED_JARS_DONE) \
148-
$(MICROBENCHMARK_INDIFY_DONE), \
127+
DEPENDENCIES := $(BUILD_JDK_MICROBENCHMARK) $(JMH_UNPACKED_JARS_DONE), \
149128
SRCS := $(MICROBENCHMARK_CLASSES) $(JMH_UNPACKED_DIR), \
150129
BIN := $(MICROBENCHMARK_JAR_BIN), \
151130
SUFFIXES := .*, \

test/micro/org/openjdk/bench/java/lang/invoke/CallSiteSetTarget.java

Lines changed: 0 additions & 214 deletions
This file was deleted.

0 commit comments

Comments
 (0)