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
85 #### Compile Targets
86
87 # Building microbenchmark requires the jdk.unsupported and java.management modules.
88 # sun.security.util is required to compile Cache benchmark.
89 # jmh uses annotation processors to generate the benchmark jar and thus
90 # requires the use of -processor option during benchmark compilation.
91
92 # Build microbenchmark suite for the current JDK
93 $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
94 TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK_UPGRADED), \
95 SMALL_JAVA := false, \
96 CLASSPATH := $(JMH_COMPILE_JARS), \
97 CREATE_API_DIGEST := true, \
98 DISABLED_WARNINGS := restricted this-escape processing rawtypes removal cast \
99 serial preview dangling-doc-comments, \
100 SRC := $(MICROBENCHMARK_SRC), \
101 BIN := $(MICROBENCHMARK_CLASSES), \
102 JAVAC_FLAGS := \
103 --add-exports java.base/jdk.internal.classfile.impl=ALL-UNNAMED \
104 --add-exports java.base/jdk.internal.event=ALL-UNNAMED \
105 --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
106 --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \
107 --add-exports java.base/jdk.internal.util=ALL-UNNAMED \
108 --add-exports java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED \
109 --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
110 --add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
111 --add-exports java.base/sun.invoke.util=ALL-UNNAMED \
112 --add-exports java.base/sun.security.util=ALL-UNNAMED \
113 --add-exports java.base/sun.security.util.math=ALL-UNNAMED \
114 --add-exports java.base/sun.security.util.math.intpoly=ALL-UNNAMED \
115 --enable-preview \
116 -XDsuppressNotes \
117 -processor org.openjdk.jmh.generators.BenchmarkProcessor, \
118 JAVA_FLAGS := \
119 --add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
|
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
85 #### Compile Targets
86
87 # Building microbenchmark requires the jdk.unsupported and java.management modules.
88 # sun.security.util is required to compile Cache benchmark.
89 # jmh uses annotation processors to generate the benchmark jar and thus
90 # requires the use of -processor option during benchmark compilation.
91
92 # Build microbenchmark suite for the current JDK
93 $(eval $(call SetupJavaCompilation, BUILD_JDK_MICROBENCHMARK, \
94 TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK_UPGRADED), \
95 SMALL_JAVA := false, \
96 CLASSPATH := $(JMH_COMPILE_JARS), \
97 CREATE_API_DIGEST := true, \
98 DISABLED_WARNINGS := restricted this-escape processing rawtypes removal cast \
99 serial preview unchecked deprecation dangling-doc-comments, \
100 SRC := $(MICROBENCHMARK_SRC), \
101 BIN := $(MICROBENCHMARK_CLASSES), \
102 JAVAC_FLAGS := \
103 --add-exports java.base/jdk.internal.classfile.impl=ALL-UNNAMED \
104 --add-exports java.base/jdk.internal.event=ALL-UNNAMED \
105 --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \
106 --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \
107 --add-exports java.base/jdk.internal.util=ALL-UNNAMED \
108 --add-exports java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED \
109 --add-exports java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \
110 --add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
111 --add-exports java.base/sun.invoke.util=ALL-UNNAMED \
112 --add-exports java.base/sun.security.util=ALL-UNNAMED \
113 --add-exports java.base/sun.security.util.math=ALL-UNNAMED \
114 --add-exports java.base/sun.security.util.math.intpoly=ALL-UNNAMED \
115 --enable-preview \
116 -XDsuppressNotes \
117 -processor org.openjdk.jmh.generators.BenchmarkProcessor, \
118 JAVA_FLAGS := \
119 --add-exports java.base/jdk.internal.vm=ALL-UNNAMED \
|