Skip to content

nytro77/spring-get-cached-bean-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-get-cached-bean-bug

Show performance degradation getting cached bean in Spring 5.1.0.RC3

Spring issue: https://jira.spring.io/browse/SPR-17282

The test just fetches the same bean 500.000 times. In Spring 5.0.9 that takes no time at all, but in 5.1.0.RC3 it takes many seconds. Something is very broken in the bean lookup cache.

Run test using Spring 5.0.9 first by executing

$ ./mvnw clean test

Now run test using Spring 5.1.0.RC3 instead by executing

$ ./mvnw clean test -Pshowcasebug

Compare the times for the test to execute

About

Show performance degradation getting cached bean in Spring 5.1.0.RC3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages