@philwebb, I have already tried the same app with 2.2.10.BUILD-SNAPSHOT and it looks much better. There is a number of wrappers in the heap, but I do not think it will cause problems.

In any case, thank you for the resolution, and I will keep you updated after I get this version live (but it will take me some time).

Originally posted by @alexey-anufriev in https://github.com/spring-projects/spring-boot/issues/22991#issuecomment-675750350

Hello, I would like to ask why there are so many FinalReference of jarFileWrapper? I see that we have a lot of FinalReference to jarFileWrapper, which causes YGC to take more than 100 milliseconds. SpringBoot Jarfilewrapper produces many FinalReference SpringBoot Jarfilewrapper produces many FinalReference

SpringBoot Jarfilewrapper produces many FinalReference After we downgraded the spring boot version, YGC only took more than 10 milliseconds

Comment From: blindarcheology

Chinese in pictures...

Comment From: yong24huang

Chinese in pictures...

Sorry,The picture has been modified. Software is Java Mission Control

Comment From: wilkinsona

After we downgraded the spring boot version, YGC only took more than 10 milliseconds

What version were you using and what version did you downgrade to?

Can you provide a small sample that we can use the reproduce the problem?

Comment From: spring-projects-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.