Skip to content

JDK aop invoke very slow [SPR-15832] #20387

Description

@spring-projects-issues

takeseem opened SPR-15832 and commented

ENV: jdk1.8, spring 4.3.8.RELEASES, see the pom.xml

why SpringJDKProxy is slowest? but the ori jdk proxy speed is good.

Although SpringJdkProxy performance of the slowest, but compared to the business TPS, the loss can be ignored :)

the test project is takeseem-demo-aop

Run NO Proxy: 37 ms, 38,109,875 t/s
Run JDK Proxy: 85 ms, 16,589,004 t/s
Run CGLIB Proxy: 52 ms, 27,116,642 t/s
Run Spring interface Proxy: 205 ms, 6,878,367 t/s
Run Spring class Proxy: 38 ms, 37,106,984 t/s
Run JAVAASSIST Proxy: 108 ms, 13,056,161 t/s
Run JAVAASSIST Bytecode Proxy: 39 ms, 36,155,523 t/s
Run ASM Bytecode Proxy: 39 ms, 36,155,523 t/s

Affects: 4.3.8

Reference URL: https://github.com/takeseem/takeseem-demo-aop

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions