Skip to content

Commit 499f0ac

Browse files
committed
egg2 jdk25
1 parent 909d25a commit 499f0ac

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

2025-09-JDK-25-list.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
- egg1
88
- ok for bash, Maven
9+
- egg2
10+
- ok for bash, Maven
911
...
1012
- egg5
1113
- ok for bash, Maven

egg_2_max_v_threads/pom.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
<properties>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16-
<maven.compiler.source>19</maven.compiler.source>
17-
<maven.compiler.target>19</maven.compiler.target>
16+
<maven.compiler.source>25</maven.compiler.source>
17+
<maven.compiler.target>25</maven.compiler.target>
1818
</properties>
1919

2020
<dependencies>
@@ -42,11 +42,6 @@
4242
<plugin>
4343
<artifactId>maven-compiler-plugin</artifactId>
4444
<version>3.10.1</version>
45-
<configuration>
46-
<compilerArgs>
47-
<arg>--enable-preview</arg>
48-
</compilerArgs>
49-
</configuration>
5045
</plugin>
5146
<plugin>
5247
<artifactId>maven-surefire-plugin</artifactId>
@@ -81,7 +76,6 @@
8176
<configuration>
8277
<executable>${java.home}/bin/java</executable>
8378
<arguments>
84-
<argument>--add-modules=jdk.incubator.concurrent</argument>
8579
<argument>--enable-preview</argument>
8680
<argument>--class-path</argument>
8781
<classpath/>

egg_2_max_v_threads/src/main/java/net/codetojoy/Runner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static void doWork() {
1212

1313
public static void main(String... args) throws Exception {
1414
// set this to a large number, e.g. 500_000
15-
int numThreads = 20_000;
15+
int numThreads = 2_000;
1616

1717
Thread thread = null;
1818

0 commit comments

Comments
 (0)