This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new eeba4edb Run the ITs in parallel on a lighter forked JVM
eeba4edb is described below
commit eeba4edb8979d4fc26d8bafdeef41f15745c41bb
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 4 14:01:23 2026 +0000
Run the ITs in parallel on a lighter forked JVM
invoker.parallelThreads is a POM property so -Dinvoker.parallelThreads=N
still overrides it.
The JIT and GC flags go through mavenOpts, not JAVA_TOOL_OPTIONS, which
would print 'Picked up' into every build log.
---
pom.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pom.xml b/pom.xml
index fd117948..b086675b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,6 +129,8 @@ under the License.
<surefirePluginVersion>${version.maven-surefire-plugin}</surefirePluginVersion>
<toolchainPluginVersion>3.2.0</toolchainPluginVersion>
<projectInfoReportsPluginVersion>${version.maven-project-info-reports-plugin}</projectInfoReportsPluginVersion>
+ <!-- each IT forks its own Maven; override on the command line with
-Dinvoker.parallelThreads=N -->
+ <invoker.parallelThreads>0.75C</invoker.parallelThreads>
<project.build.outputTimestamp>2025-09-16T08:27:46Z</project.build.outputTimestamp>
<slf4jVersion>1.7.36</slf4jVersion>
</properties>
@@ -494,6 +496,8 @@ under the License.
<filterProperties>
<mrm.3rdparty.url>${mrm.3rdparty.url}</mrm.3rdparty.url>
</filterProperties>
+ <!-- each IT is a short-lived JVM: C2 compilation and parallel
GC only add startup time -->
+ <mavenOpts>-XX:TieredStopAtLevel=1 -XX:+UseSerialGC</mavenOpts>
<environmentVariables>
<!-- required for MJAVADOC-538 -->
<_JAVA_OPTIONS>-Dabc=def</_JAVA_OPTIONS>