Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Completed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP3 (5.2.7)
-
All
Description
Improved performance of MethodInvoker has been improved. More specifically, MethodInvoker uses the input MethodWrapper to creates a MethodKey to look up MethodCache. MethodCache uses the arguments' class types to query the target Class. So if the arguments' real types are subclasses of target class method's parameter, the query will fail. To fix this MethodInvoker needs to iterate over every Method of the target Class to find the correct Method. This iteration uses reflection heavily so it is slow. To speed up later query, MethodInvoker will now put the query result into the MethodCache.
Attachments
Issue Links
- is related to
-
LPS-6987 MethodInvoker should fill MethodCache after it querys a method with subclass parameters
- Closed