[
https://issues.apache.org/jira/browse/ARTEMIS-5972?focusedWorklogId=1021516&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1021516
]
ASF GitHub Bot logged work on ARTEMIS-5972:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 21/May/26 14:32
Start Date: 21/May/26 14:32
Worklog Time Spent: 10m
Work Description: mayankkunwar commented on code in PR #6444:
URL: https://github.com/apache/artemis/pull/6444#discussion_r3281896536
##########
artemis-ffm/pom.xml:
##########
@@ -0,0 +1,236 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.artemis</groupId>
+ <artifactId>artemis-pom</artifactId>
+ <version>2.55.0-SNAPSHOT</version>
+ <relativePath>../artemis-pom/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>artemis-ffm</artifactId>
+ <packaging>jar</packaging>
+ <name>Apache Artemis FFM</name>
+
+ <properties>
+ <jmh.version>1.37</jmh.version>
+
+ <test.stress.time>5000</test.stress.time>
+
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
+ <maven.compiler.source>22</maven.compiler.source>
Review Comment:
Okay I will remove this from here.
Issue Time Tracking
-------------------
Worklog Id: (was: 1021516)
Time Spent: 2h 20m (was: 2h 10m)
> 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: 2h 20m
> 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]