[ 
https://issues.apache.org/jira/browse/QPID-8601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615830#comment-17615830
 ] 

ASF subversion and git services commented on QPID-8601:
-------------------------------------------------------

Commit e273a0bdb8daef63e7872355641658efdff619f0 in qpid-broker-j's branch 
refs/heads/main from Daniil Kirilyuk
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=e273a0bdb8 ]

QPID-8601: [Broker-J] Broker-J instrumentation agent (#141)

* QPID-8601: [Broker-J] Broker-J instrumentation agent

* QPID-8601: [Broker-J] Added new line to end of file

Co-authored-by: vavrtom <vavricka.to...@gmail.com>

> [Broker-J] Broker-J instrumentation agent
> -----------------------------------------
>
>                 Key: QPID-8601
>                 URL: https://issues.apache.org/jira/browse/QPID-8601
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-8.0.6
>            Reporter: Daniil Kirilyuk
>            Priority: Minor
>
> Broker model objects heavily rely on java reflection. 
> Java version 7/8 introduced reflection alternatives allowing to access class 
> fields as well as call class methods. Brief review of those alternatives can 
> be found in this [blog 
> post|https://www.optaplanner.org/blog/2018/01/09/JavaReflectionButMuchFaster.html].
> There are further changes coming, e.g. [JEP 416|https://openjdk.org/jeps/416] 
> (implemented in Java 18), having as a goal reimplementation of 
> java.lang.reflect.Method, Constructor, and Field on top of java.lang.invoke 
> method handles. Jackson databind library already has an 
> [issue|https://github.com/FasterXML/jackson-databind/issues/2083] directed to 
> replace reflection calls with method handles. Similar approach is used in 
> [spring 
> data|https://github.com/spring-projects/spring-data-commons/blob/main/src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java]
>  framework as well.
> We suggest to implement a static instrumentation object, which will replace 
> reflection method invocation with the invocations of static final 
> MethodHandle instances.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to