File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -383,6 +383,8 @@ Other Changes
383383 instead of LinkedHashMap. Intended to aid in 10.x compatibility. Enable via sys prop: solr.solrj.javabin.readMapAsNamedList=true
384384 (Renato Haeberli, David Smiley)
385385
386+ * SOLR-17803: Fix native access warning when using MemorySegmentIndexInput (Kevin Risden)
387+
386388================== 9.8.1 ==================
387389Bug Fixes
388390---------------------
Original file line number Diff line number Diff line change @@ -1312,6 +1312,8 @@ function start_solr() {
13121312
13131313 # Add vector optimizations module
13141314 SCRIPT_SOLR_OPTS+=(" --add-modules" " jdk.incubator.vector" )
1315+ # Support native madvise for MemorySegmentIndexInputProvider
1316+ SCRIPT_SOLR_OPTS+=(" --enable-native-access=ALL-UNNAMED" )
13151317
13161318 # shellcheck disable=SC2164
13171319 SOLR_START_OPTS=(' -server' " ${JAVA_MEM_OPTS[@]} " " ${GC_TUNE_ARR[@]} " " ${GC_LOG_OPTS[@]} " " ${IP_ACL_OPTS[@]} " \
Original file line number Diff line number Diff line change @@ -1032,6 +1032,9 @@ IF "%GC_TUNE%"=="" (
10321032REM Add vector optimizations module
10331033set SCRIPT_SOLR_OPTS = %SCRIPT_SOLR_OPTS% --add-modules jdk.incubator.vector
10341034
1035+ REM Support native madvise for MemorySegmentIndexInputProvider
1036+ set SCRIPT_SOLR_OPTS = %SCRIPT_SOLR_OPTS% --enable-native-access=ALL-UNNAMED
1037+
10351038IF " %GC_LOG_OPTS% " == " " (
10361039 set GC_LOG_OPTS = " -Xlog:gc*"
10371040)
You can’t perform that action at this time.
0 commit comments