[JAVA-18144] Moved jmh module to jdk9-and-above profile (#13725)
* [JAVA-18144] Moved jmh module to jdk9-and-above profile * [JAVA-18144] Added configuration * [JAVA-18144] Upgraded dependencies * [JAVA-18144] Added compile argument
This commit is contained in:
parent
38ae7e56dd
commit
5c520fc768
24
jmh/pom.xml
24
jmh/pom.xml
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>jmh</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
@ -20,12 +20,12 @@
|
|||
<dependency>
|
||||
<groupId>org.openjdk.jmh</groupId>
|
||||
<artifactId>jmh-core</artifactId>
|
||||
<version>${jmh-core.version}</version>
|
||||
<version>1.36</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openjdk.jmh</groupId>
|
||||
<artifactId>jmh-generator-annprocess</artifactId>
|
||||
<version>${jmh-generator.version}</version>
|
||||
<version>1.36</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openjdk.jol</groupId>
|
||||
|
@ -36,6 +36,15 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>--add-exports=java.base/jdk.internal.vm.annotation=ALL-UNNAMED</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
|
@ -76,9 +85,10 @@
|
|||
</build>
|
||||
|
||||
<properties>
|
||||
<maven-jar-plugin.version>3.0.2</maven-jar-plugin.version>
|
||||
<jol-core.version>0.10</jol-core.version>
|
||||
<maven-assembly-plugin.version>3.2.0</maven-assembly-plugin.version>
|
||||
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
||||
<jol-core.version>0.17</jol-core.version>
|
||||
<maven-assembly-plugin.version>3.5.0</maven-assembly-plugin.version>
|
||||
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -88,7 +88,7 @@ abstract class Striped64 extends Number {
|
|||
* JVM intrinsics note: It would be possible to use a release-only
|
||||
* form of CAS here, if it were provided.
|
||||
*/
|
||||
@sun.misc.Contended static final class Cell {
|
||||
@jdk.internal.vm.annotation.Contended static final class Cell {
|
||||
volatile long value;
|
||||
Cell(long x) { value = x; }
|
||||
final boolean cas(long cmp, long val) {
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -358,7 +358,6 @@
|
|||
|
||||
<module>jetbrains</module>
|
||||
<module>jhipster-5</module>
|
||||
<module>jmh</module>
|
||||
<!-- <module>lagom</module> --> <!-- Not a maven project -->
|
||||
<module>language-interop</module>
|
||||
<module>libraries-3</module>
|
||||
|
@ -555,7 +554,6 @@
|
|||
<module>java-jdi</module>
|
||||
|
||||
<module>jhipster-5</module>
|
||||
<module>jmh</module>
|
||||
<!-- <module>lagom</module> --> <!-- Not a maven project -->
|
||||
<module>language-interop</module>
|
||||
<module>libraries-3</module>
|
||||
|
@ -813,6 +811,7 @@
|
|||
<module>data-structures</module>
|
||||
<module>ddd-contexts</module>
|
||||
<module>jackson-modules</module>
|
||||
<module>jmh</module>
|
||||
<module>deeplearning4j</module>
|
||||
<module>docker-modules</module>
|
||||
<module>drools</module>
|
||||
|
@ -1063,6 +1062,7 @@
|
|||
<module>data-structures</module>
|
||||
<module>ddd-contexts</module>
|
||||
<module>jackson-modules</module>
|
||||
<module>jmh</module>
|
||||
<module>deeplearning4j</module>
|
||||
<module>jmeter</module>
|
||||
<module>docker-modules</module>
|
||||
|
|
Loading…
Reference in New Issue