Skip to content

Revisit class cache in CachedIntrospectionResults [SPR-11867] #16486

Closed
@spring-projects-issues

Description

@spring-projects-issues

Lari Hotari opened SPR-11867 and commented

I'm doing performance tuning with Grails 2.4.1.BUILD-SNAPSHOT which uses Spring 4.0.5 .

The main principle for performance tuning in Grails is to minimize all blocking. I rely on the profiler information about what's causing the most blocking.

After eliminating the blocking problem in AbstractApplicationContext.assert (reported as #16482 , comments in SPR-10307) by simply overriding assertBeanFactoryActive with a no-op method in a subclass of GenericApplicationContext, the top-most blocker is now org.springframework.beans.CachedIntrospectionResults.forClass(Class) method.


Affects: 3.2.9, 4.0.5

Issue Links:

Referenced from: commits f27b949, 8307447, fab67b0

Backported to: 3.2.10

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions