Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion srcmorph-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ SPDX-License-Identifier: Apache-2.0
a 2 GB heap cap, a heap dump on OutOfMemoryError into the working
directory, and a JVM fatal-error log named per crashing PID.
-->
<argLine>@{argLine} -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=. -XX:ErrorFile=hs_err_pid%p.log</argLine>
<!-- -XX:+EnableDynamicAgentLoading: silences the JDK 21 byte-buddy self-attach agent warning that intermittently corrupts Surefire's fork channel ("Corrupted channel ..." / bogus "timeout in the fork"). See workspace policy ci-test-diagnostics.md section 2.1: https://github.com/bernardladenthin/workspace/blob/main/policies/ci-test-diagnostics.md - root cause: https://github.com/raphw/byte-buddy/issues/1639 -->
<argLine>@{argLine} -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=. -XX:ErrorFile=hs_err_pid%p.log -XX:+EnableDynamicAgentLoading</argLine>
<!--
Force classpath-only test execution. Surefire's default module-path
auto-detection activates as soon as module-info.class exists in
Expand Down
3 changes: 2 additions & 1 deletion srcmorph-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ SPDX-License-Identifier: Apache-2.0
a 2 GB heap cap, a heap dump on OutOfMemoryError into the working
directory, and a JVM fatal-error log named per crashing PID.
-->
<argLine>@{argLine} -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=. -XX:ErrorFile=hs_err_pid%p.log</argLine>
<!-- -XX:+EnableDynamicAgentLoading: silences the JDK 21 byte-buddy self-attach agent warning that intermittently corrupts Surefire's fork channel ("Corrupted channel ..." / bogus "timeout in the fork"). See workspace policy ci-test-diagnostics.md section 2.1: https://github.com/bernardladenthin/workspace/blob/main/policies/ci-test-diagnostics.md - root cause: https://github.com/raphw/byte-buddy/issues/1639 -->
<argLine>@{argLine} -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=. -XX:ErrorFile=hs_err_pid%p.log -XX:+EnableDynamicAgentLoading</argLine>
<!--
The vmlens interleaving smoke test is meaningful only when run
under the vmlens agent (the `vmlens` profile / CI job). Without the
Expand Down
3 changes: 2 additions & 1 deletion srcmorph/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ SPDX-License-Identifier: Apache-2.0
a 2 GB heap cap, a heap dump on OutOfMemoryError into the working
directory, and a JVM fatal-error log named per crashing PID.
-->
<argLine>@{argLine} -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=. -XX:ErrorFile=hs_err_pid%p.log</argLine>
<!-- -XX:+EnableDynamicAgentLoading: silences the JDK 21 byte-buddy self-attach agent warning that intermittently corrupts Surefire's fork channel ("Corrupted channel ..." / bogus "timeout in the fork"). See workspace policy ci-test-diagnostics.md section 2.1: https://github.com/bernardladenthin/workspace/blob/main/policies/ci-test-diagnostics.md - root cause: https://github.com/raphw/byte-buddy/issues/1639 -->
<argLine>@{argLine} -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=. -XX:ErrorFile=hs_err_pid%p.log -XX:+EnableDynamicAgentLoading</argLine>
<!--
Force classpath-mode test execution. module-info.java here is release
metadata for downstream module-path consumers only (see its own Javadoc:
Expand Down
Loading