Skip to content

Commit 6525296

Browse files
committed
Merge branch 'cassandra-6.0' into trunk
* cassandra-6.0: Print class histogram in case of ant failure in check-code.sh
2 parents 43a1f51 + 9267874 commit 6525296

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.build/check-code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ command -v ant >/dev/null 2>&1 || { echo >&2 "ant needs to be installed"; exit 1
2424
[ -f "${CASSANDRA_DIR}/build.xml" ] || { echo >&2 "${CASSANDRA_DIR}/build.xml must exist"; exit 1; }
2525

2626
# execute. memory needs to fit within the specified container size, see .jenkins/Jenkinsfile
27-
ANT_OPTS="-Xmx1g" ant -f "${CASSANDRA_DIR}/build.xml" check # dependency-check # FIXME dependency-check now requires NVD key downloaded first
27+
ANT_OPTS="-Xmx1g -XX:+PrintClassHistogram -XX:OnOutOfMemoryError='kill -QUIT %p'" ant -f "${CASSANDRA_DIR}/build.xml" check # dependency-check # FIXME dependency-check now requires NVD key downloaded first
2828
exit $?

0 commit comments

Comments
 (0)