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