File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed
src/main/java/net/codetojoy Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 66
77- egg1
88 - ok for bash, Maven
9+ - egg2
10+ - ok for bash, Maven
911...
1012- egg5
1113 - ok for bash, Maven
Original file line number Diff line number Diff line change 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 >
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 >
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 />
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments