You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Uwe Schindler (Jira)" <ji...@apache.org> on 2021/12/05 19:26:00 UTC
[jira] [Commented] (LUCENE-10287) Add jdk.unsupported module to Luke startup script
[ https://issues.apache.org/jira/browse/LUCENE-10287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453663#comment-17453663 ]
Uwe Schindler commented on LUCENE-10287:
----------------------------------------
I opened PR: https://github.com/apache/lucene/pull/517
> Add jdk.unsupported module to Luke startup script
> -------------------------------------------------
>
> Key: LUCENE-10287
> URL: https://issues.apache.org/jira/browse/LUCENE-10287
> Project: Lucene - Core
> Issue Type: Bug
> Components: luke
> Affects Versions: 9.0
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Priority: Major
> Fix For: 10.0 (main), 9.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> See my note on the JDK 9.0 release: When you start Luke (in module mode, as done by default), it won't use MMapDirectory when opening indexes. The reason is simple: It can't see sun.misc.Unsafe, which is needed to unmap mapped byte buffers. It will silently disable itsself (as it is not a hard dependency).
> By default we should pass the "jdk.unsupported" module when starting Luke.
> In case of a respin, this should be backported.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org