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

Uwe Schindler commented on SOLR-16442:
--------------------------------------

We should also think of updating the startup scripts to pass 
{{--enable-preview}} to JVM if exactly Java 19 is detected. Elasticsearch and 
Opensearch will / have already done this. Not doing this will print a startup 
warning on Java 19 to Java logging.

The main reason to pass {{--enable-preview}} to the JVM is to allow 
MMapDirectory V2 to be enabled and memory mapping happening in larger junks for 
less overhead and use of kernel resources (see vm.max-map-count sysctl). It 
also reduces risk of crushing JDK on bad written plugins or bugs with reopening 
IndexSearcher/IndexReader.

See https://github.com/apache/lucene/pull/912 for more details.

> Upgrade to Lucene 9.4.1 (do and document)
> -----------------------------------------
>
>                 Key: SOLR-16442
>                 URL: https://issues.apache.org/jira/browse/SOLR-16442
>             Project: Solr
>          Issue Type: Task
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Major
>             Fix For: main (10.0), 9.2
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> * Upgrade to Lucene 9.4
> * Document the steps for upgrading e.g. in 
> [https://github.com/apache/solr/tree/main/dev-docs]



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to