Great news: Lucene 9.4 (optionally) uses mapped MemorySegments when JDK 19 is detected
fazil mohamed
fazil.mes53 at gmail.com
Sat Oct 1 15:35:54 UTC 2022
Great to hear from you. I had raised a concern in Elastic discussion forum
regarding the applicability of Early Access OpenJDK build With Elastic
application. Please share the JMH benchmark related to JDK 19.
On Thu 29 Sep, 2022, 9:17 PM Uwe Schindler, <uschindler at apache.org> wrote:
> Hi all, hi Maurizio,
>
> I just wanted to inform you that after Java 19 was released we jumped on
> the train and we will most likely release Apache Lucene 9.4 already
> tomorrow with support for project Panama. Users can run Lucene-based
> applications with "--enable-preview" and all should work automatically
> thanks to MR-JAR.
>
> The PR was merged on Monday after Eclipse Adoptium made the JDK 19
> builds available, so Gradle was able to pick them up to compile the
> MR-JAR part against it without having the Lucene developer to install
> JDK 19 in addition to Java 11/17. You can see the Panama code and also
> the Gradle setup and classloading tricks at runtime (that create/support
> the MR-JAR) here: https://github.com/apache/lucene/pull/912
>
> I also opened issues in Elasticsearch ad Opensearch, so users can test
> it and report slowness/bugs earlier:
> https://github.com/elastic/elasticsearch/issues/90526,
> https://github.com/opensearch-project/OpenSearch/issues/4637
>
> Uwe
>
> --
> Uwe Schindler
> uschindler at apache.org
> ASF Member, Member of PMC and Committer of Apache Lucene and Apache Solr
> Bremen, Germany
> https://lucene.apache.org/
> https://solr.apache.org/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20221001/115980ae/attachment.htm>
More information about the panama-dev
mailing list