[
https://issues.apache.org/jira/browse/ARTEMIS-5972?focusedWorklogId=1020272&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1020272
]
ASF GitHub Bot logged work on ARTEMIS-5972:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 14/May/26 14:30
Start Date: 14/May/26 14:30
Worklog Time Spent: 10m
Work Description: tabish121 commented on code in PR #6444:
URL: https://github.com/apache/artemis/pull/6444#discussion_r3242049570
##########
pom.xml:
##########
@@ -74,6 +74,7 @@
<module>artemis-lockmanager</module>
<module>artemis-image</module>
<module>artemis-image/examples</module>
+ <module>artemis-ffm</module>
Review Comment:
` <module>artemis-ffm</module>` Isn't really a useful name for the module,
it doesn't really describe what the module is used for or help someone identify
what functionality this might include. Probably should indicate is a libaio
module "artemis-libaio' or some such as the FFM bits is the implementation part
of what its doing, not what it does.
Issue Time Tracking
-------------------
Worklog Id: (was: 1020272)
Time Spent: 40m (was: 0.5h)
> Replace JNI with Panama Foreign Function & Memory (FFM) API for Journal
> Native Layer
> ------------------------------------------------------------------------------------
>
> Key: ARTEMIS-5972
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5972
> Project: Artemis
> Issue Type: Improvement
> Components: Native
> Reporter: Mayank Kunwar
> Assignee: Clebert Suconic
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Proposing a modernization of the artemis-journal module by leveraging the
> Panama Foreign Function & Memory (FFM) API (introduced in JDK 22). This will
> provide a high-performance alternative to the existing JNI-based native layer
> for interacting with libaio.
>
> ||Feature||Current JNI + libaio||Modernize Journal||
> |Call Type|Java -> JNI (C code) -> libaio |Java -> Panama FFM -> libaio|
> |Code Base|Java + C/C++ (Native Repo)|100% Pure Java|
> |I/O Mechanism |Asynchronous via libaio callbacks|Asynchronous via libaio
> callbacks|
> |Efficiency|Higher overhead (JNI transitions)|Lower overhead (JIT optimized)|
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]