-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Upgrade to CGLIB 3.2.4 [SPR-14385] #18958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Lucas Pate commented I may have misunderstood the release notes for CGLIB 3.2.3. I think the warning in the release notes about the bug and regressions applies to version 3.2.3 rather than fixing those issues in 3.2.3. I have been experiencing a permgen leak with Spring Framework 4.2.6, and it is related to CGLIB. I built the 4.2.6 tag with CGLIB 3.2.0 (4.2.5 version), and the permgen leak was not present. I also built the 4.2.6 tag with CGLIB 3.2.3, but I am still experiencing a permgen leak. I pulled the trunk version of CGLIB with the latest bug/regression fixes and applied it to Spring 4.2.6 and my permgen leak has been resolved. CGLIB will need to be upgraded to 3.2.4 when it is released. |
Juergen Hoeller commented We haven't noticed any regressions in our own tests against |
Lucas Pate commented I created a JUnit test that demonstrates the perm gen leak in Spring Boot 1.3.5 (4.2.6). It does not occur in Boot 1.3.3 (4.2.5). I don't know how to add this test to your test suites, since it was somewhat difficult to reproduce. https://github.com/lucaspate/bugs/tree/master/SpringAopPermGenLeak Should I open a bug for it? |
Juergen Hoeller commented We don't have perm-gen tests in our test suite, and I'd rather leave it at that. Let's upgrade to CGLIB 3.2.4 and run your external test against it. Feel free to raise it with the CGLIB guys, asking for an early 3.2.4 release... To avoid any misunderstandings: My comment above was just referring to regressions since Spring Framework 4.2.6 / CGLIB 3.2.2. The upgrade to CGLIB 3.2.3 does not seem to cause any new issues at least. |
Juergen Hoeller commented Upgrading to the just released CGLIB 3.2.4 right away, repurposing this ticket for it. |
Lucas Pate commented I picked up the latest 4.3.1.BUILD-SNAPSHOT this morning, and the perm-gen leak I experienced is now fixed. |
Lucas Pate opened SPR-14385 and commented
CGLIB has been updated to version 3.2.3 to fix a bug and two regressions: https://github.com/cglib/cglib/releases/tag/RELEASE_3_2_3
Affects: 4.2.6
Reference URL: https://github.com/cglib/cglib/releases/tag/RELEASE_3_2_3
Issue Links:
Referenced from: commits 848562d, ea5baeb, f60c6c9
Backported to: 4.2.7
The text was updated successfully, but these errors were encountered: