Since 2023, we have a resolution to the cold start problem from AWS end. They are supporting SnapStart to persist the snapshot and restore during the first invocation.
You can go through the Article for details.
Reducing Java cold starts on AWS Lambda functions with SnapStart https://aws.amazon.com/blogs/compute/reducing-java-cold-starts-on-aws-lambda-functions-with-snapstart/