Fixed
Details
Assignee
Former userFormer user(Deactivated)Reporter
Christoph DreisChristoph DreisComponents
Fix versions
Priority
Minor
Details
Details
Assignee
Former user
Former user(Deactivated)Reporter
Christoph Dreis
Christoph DreisComponents
Fix versions
Priority
Created September 27, 2016 at 7:01 AM
Updated September 30, 2016 at 7:46 AM
Resolved September 27, 2016 at 8:49 PM
Hey,
As of Java 8 there is the possibilty to call Method.getParameterCount(), which is a much more efficient variant in case just the parameter count is needed. Method.getParameterTypes() clones the underlying parameters and therefore creates unnecessary pressure on the heap in such cases.
I revised all places to use the new method.
Cheers,
Christoph