You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/10/19 16:20:51 UTC

[GitHub] [solr-docker] uschindler commented on a diff in pull request #11: Dockerfile workaround to avoid crashes for SOLR 9.0.0 on JDK17

uschindler commented on code in PR #11:
URL: https://github.com/apache/solr-docker/pull/11#discussion_r999685525


##########
9.0/Dockerfile:
##########
@@ -131,6 +131,9 @@ RUN set -ex; \
     apt-get -y install acl dirmngr lsof procps wget netcat gosu tini jattach; \
     rm -rf /var/lib/apt/lists/*;
 
+# Workaround for JDK17 JIT compiler bug https://bugs.openjdk.org/browse/JDK-8285835
+ARG SOLR_OPTS="-XX:CompileCommand=exclude,com.github.benmanes.caffeine.cache.BoundedLocalCache::put"

Review Comment:
   Can you have multiple "a" option, too?
   
   Anyways I like you option better as it would be immune to external parameters.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org