Skip to content

Comments

feat(docker): update base images to Java 25, Spring 4, Jackson 3, Gradle 9 and optimize JVM options (Project Lilliput)#5725

Open
balazs-szucs wants to merge 102 commits intoStirling-Tools:mainfrom
balazs-szucs:java25spring4
Open

feat(docker): update base images to Java 25, Spring 4, Jackson 3, Gradle 9 and optimize JVM options (Project Lilliput)#5725
balazs-szucs wants to merge 102 commits intoStirling-Tools:mainfrom
balazs-szucs:java25spring4

Conversation

@balazs-szucs
Copy link
Collaborator

@balazs-szucs balazs-szucs commented Feb 14, 2026

Description of Changes

This PR upgrades Stirling-PDF to Java 25, Spring Boot 4.0.2, Jackson 3, and Gradle 9.3.1. It introduces Project Lilliput (Compact Object Headers) for reduced memory overhead, Project Leyden AOT caching for faster startup, and modernizes JVM configurations with virtual threads and improved garbage collection options. The changes also optimize Docker images, refactor init scripts with dynamic memory detection, and migrate from deprecated Spring Security SAML APIs.

Changes:

  • Upgraded runtime to Java 25 with Java 21 source/target compatibility, Gradle 9.3.1, Spring Boot 4.0.2, and Jackson 3
  • Added Project Lilliput support with runtime detection, Project Leyden AOT cache generation for 15-25% faster startup
  • Modernized JVM options: replaced experimental G1 flags, added virtual thread support, migrated ThreadPoolTaskExecutor to virtual threads
  • Updated Docker images to use eclipse-temurin:25-jre with optimized multi-stage builds and dynamic memory detection

Checklist

General

Documentation

Translations (if applicable)

UI Changes (if applicable)

  • Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)

Testing (if applicable)

  • I have tested my changes locally. Refer to the Testing Guide for more details.

@stirlingbot stirlingbot bot added enhancement New feature or request Java Pull requests that update Java code Back End Issues related to back-end development Docker Pull requests that update Docker code Security Security-related issues or pull requests API API-related issues or pull requests Test Testing-related issues or pull requests Github Gradle Pull requests that update Gradle code labels Feb 14, 2026
balazs-szucs and others added 5 commits February 14, 2026 16:13
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
…backports

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
@balazs-szucs balazs-szucs marked this pull request as ready for review February 15, 2026 17:11
Copilot AI review requested due to automatic review settings February 15, 2026 17:11
@dosubot dosubot bot added the size:L This PR changes 100-499 lines ignoring generated files. label Feb 15, 2026
@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 20, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 20, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 20, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 100 out of 101 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 21, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

…gurations

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 21, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 22, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

@stirlingbot stirlingbot bot added the Devtools Development tools label Feb 22, 2026
@stirlingbot stirlingbot bot removed the Devtools Development tools label Feb 22, 2026
@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 22, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 22, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

@balazs-szucs
Copy link
Collaborator Author

/deploypr

@stirlingbot
Copy link
Contributor

stirlingbot bot commented Feb 22, 2026

🚀 PR Test Deployment

Your PR has been deployed for testing!

🔗 Test URL: http://23.22.230.180:5725
Security Disabled

This deployment will be automatically cleaned up when the PR is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API API-related issues or pull requests Back End Issues related to back-end development Docker Pull requests that update Docker code enhancement New feature or request Github Gradle Pull requests that update Gradle code Java Pull requests that update Java code pr-deployed Pull request has been deployed to a test environment Security Security-related issues or pull requests size:L This PR changes 100-499 lines ignoring generated files. Test Testing-related issues or pull requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant