[CONTROLLER-667] Reflection-based calls: use MethodHandle instead of Method.invoke() Created: 06/Aug/14  Updated: 19/Oct/17  Resolved: 12/May/15

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC



 Description   

MethodHandle is Java 7's optimized API for dynamically invoking methods. It allows for completely eliminating overhead associated with boxing/unboxing of arguments. We rely on Method.invoke() in a few performance-critical places, so it makes sense to squeeze it a bit more.



 Comments   
Comment by Tony Tkacik [ 12/May/15 ]

Binding MD-SAL uses java.lang.invoke as replacement
of reflection-based operations on MD-SAL

https://git.opendaylight.org/gerrit/#/c/16261/

Generated at Wed Feb 07 19:53:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.