- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    18, 21
- 
        b27
- 
        generic
- 
        generic
- 
        Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8370954 | 21.0.11-oracle | Weibing Xiao | P3 | Open | Unresolved | 
                    ADDITIONAL SYSTEM INFORMATION :
Windows 10
i7 14700k
A DESCRIPTION OF THE PROBLEM :
The performance of cloneMethod.invoke is 1000% slower in JDK 21 relative to JDK 11.
REGRESSION : Last worked in version 11.0.25
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JDK 21 should have the same or better performance over JDK 11.
ACTUAL -
JDK 21 is 10 times slower than JDK 11.
---------- BEGIN SOURCE ----------
See comment below for source code
---------- END SOURCE ----------
FREQUENCY : always
            
Windows 10
i7 14700k
A DESCRIPTION OF THE PROBLEM :
The performance of cloneMethod.invoke is 1000% slower in JDK 21 relative to JDK 11.
REGRESSION : Last worked in version 11.0.25
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JDK 21 should have the same or better performance over JDK 11.
ACTUAL -
JDK 21 is 10 times slower than JDK 11.
---------- BEGIN SOURCE ----------
See comment below for source code
---------- END SOURCE ----------
FREQUENCY : always
- backported by
- 
                    JDK-8370954 Performance regression in reflective invocation of native methods -           
- Open
 
-         
- relates to
- 
                    JDK-8271820 Implementation of JEP 416: Reimplement Core Reflection with Method Handle -           
- Resolved
 
-         
- links to
- 
                     Commit(master)
        openjdk/jdk/5958463c Commit(master)
        openjdk/jdk/5958463c
- 
                     Review(master)
        openjdk/jdk21u-dev/1207 Review(master)
        openjdk/jdk21u-dev/1207
- 
                     Review(master)
        openjdk/jdk/22169 Review(master)
        openjdk/jdk/22169