diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 835aff5f78..a9ff01bd94 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -181,7 +181,12 @@ jobs: github-token: ${{ github.token }} - name: Build native executable - run: ./mvnw clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-march=x86-64-v2" + # Quarkus 3.39 switches on -H:+AOTSingleCallsiteInline for Mandrel 25.0.4+. The generated + # REST invokers for AwsQueryController.dispatch and AwsJson11Controller.handle are each the + # single call site of a very large method; inlined, the method outgrows the aarch64 + # conditional-branch range and the build dies with BranchTargetOutOfBoundsException. + # The flag only exists on Mandrel, so it is passed here rather than in application.yml. + run: ./mvnw clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-march=x86-64-v2,-H:-AOTSingleCallsiteInline" - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: @@ -216,7 +221,12 @@ jobs: github-token: ${{ github.token }} - name: Build native executable - run: ./mvnw clean package -Dnative -DskipTests -B + # Quarkus 3.39 switches on -H:+AOTSingleCallsiteInline for Mandrel 25.0.4+. The generated + # REST invokers for AwsQueryController.dispatch and AwsJson11Controller.handle are each the + # single call site of a very large method; inlined, the method outgrows the aarch64 + # conditional-branch range and the build dies with BranchTargetOutOfBoundsException. + # The flag only exists on Mandrel, so it is passed here rather than in application.yml. + run: ./mvnw clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-H:-AOTSingleCallsiteInline" - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index 37dc54fc1b..8c2925be14 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -162,7 +162,12 @@ jobs: restore-keys: maven-${{ runner.os }}- - name: Build native executable (quick build) - run: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-Ob" + # Quarkus 3.39 switches on -H:+AOTSingleCallsiteInline for Mandrel 25.0.4+. The generated + # REST invokers for AwsQueryController.dispatch and AwsJson11Controller.handle are each the + # single call site of a very large method; inlined, the method outgrows the aarch64 + # conditional-branch range and the build dies with BranchTargetOutOfBoundsException. + # The flag only exists on Mandrel, so it is passed here rather than in application.yml. + run: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-Ob,-H:-AOTSingleCallsiteInline" # Quarkus always writes GraalVM's build-output JSON next to the native source jar. Surfacing # it here gives every PR a size record for both architectures: code area, image heap, total diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index edc979f835..2cdd7db353 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -80,7 +80,12 @@ jobs: run: mvn versions:set -DnewVersion="nightly-${{ needs.prepare.outputs.version }}" -DgenerateBackupPoms=false -q - name: Build native executable - run: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-march=x86-64-v2" + # Quarkus 3.39 switches on -H:+AOTSingleCallsiteInline for Mandrel 25.0.4+. The generated + # REST invokers for AwsQueryController.dispatch and AwsJson11Controller.handle are each the + # single call site of a very large method; inlined, the method outgrows the aarch64 + # conditional-branch range and the build dies with BranchTargetOutOfBoundsException. + # The flag only exists on Mandrel, so it is passed here rather than in application.yml. + run: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-march=x86-64-v2,-H:-AOTSingleCallsiteInline" - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: @@ -132,7 +137,12 @@ jobs: run: mvn versions:set -DnewVersion="nightly-${{ needs.prepare.outputs.version }}" -DgenerateBackupPoms=false -q - name: Build native executable - run: mvn clean package -Dnative -DskipTests -B + # Quarkus 3.39 switches on -H:+AOTSingleCallsiteInline for Mandrel 25.0.4+. The generated + # REST invokers for AwsQueryController.dispatch and AwsJson11Controller.handle are each the + # single call site of a very large method; inlined, the method outgrows the aarch64 + # conditional-branch range and the build dies with BranchTargetOutOfBoundsException. + # The flag only exists on Mandrel, so it is passed here rather than in application.yml. + run: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-H:-AOTSingleCallsiteInline" - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9db6be46fb..cce1182a36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,12 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build native executable - run: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-march=x86-64-v2" + # Quarkus 3.39 switches on -H:+AOTSingleCallsiteInline for Mandrel 25.0.4+. The generated + # REST invokers for AwsQueryController.dispatch and AwsJson11Controller.handle are each the + # single call site of a very large method; inlined, the method outgrows the aarch64 + # conditional-branch range and the build dies with BranchTargetOutOfBoundsException. + # The flag only exists on Mandrel, so it is passed here rather than in application.yml. + run: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-march=x86-64-v2,-H:-AOTSingleCallsiteInline" - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: @@ -76,7 +81,12 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build native executable - run: mvn clean package -Dnative -DskipTests -B + # Quarkus 3.39 switches on -H:+AOTSingleCallsiteInline for Mandrel 25.0.4+. The generated + # REST invokers for AwsQueryController.dispatch and AwsJson11Controller.handle are each the + # single call site of a very large method; inlined, the method outgrows the aarch64 + # conditional-branch range and the build dies with BranchTargetOutOfBoundsException. + # The flag only exists on Mandrel, so it is passed here rather than in application.yml. + run: mvn clean package -Dnative -DskipTests -B -Dquarkus.native.additional-build-args-append="-H:-AOTSingleCallsiteInline" - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: diff --git a/pom.xml b/pom.xml index f1ee4dcd07..e441cca3ef 100644 --- a/pom.xml +++ b/pom.xml @@ -15,11 +15,11 @@ 25 UTF-8 - 3.37.4 - 2.22.1 + 3.39.2 + 2.22.2 2.6.13.Final 1.14.6 - 6.4.5 + 6.4.7 @@ -53,6 +53,21 @@ proto-google-common-protos 2.49.0 + + + org.apache.httpcomponents.core5 + httpcore5 + 5.3.6 + + + org.apache.httpcomponents.core5 + httpcore5-h2 + 5.3.6 + com.h2database h2-mvstore @@ -179,6 +194,8 @@ org.apache.httpcomponents.client5 httpclient5 + 5.5.1 @@ -249,7 +266,7 @@ io.swagger.parser.v3 swagger-parser - 2.1.45 + 2.1.48 @@ -348,7 +365,7 @@ org.assertj assertj-core - 3.25.3 + 3.27.7 test @@ -385,7 +402,7 @@ org.neo4j.driver neo4j-java-driver - 6.2.0 + 6.2.1 test @@ -410,7 +427,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.15.0 + 3.16.0 ${maven.compiler.release} @@ -418,7 +435,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.6 + 3.6.0