This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-docker.git


The following commit(s) were added to refs/heads/main by this push:
     new 1da7375  9.0 Dockerfile workaround to avoid JIT crashes for SOLR 9.0 
on JDK17+
1da7375 is described below

commit 1da73752aff37c00701023c681a4525fc5c474a4
Author: Jan Høydahl <[email protected]>
AuthorDate: Thu Oct 20 14:25:10 2022 +0200

    9.0 Dockerfile workaround to avoid JIT crashes for SOLR 9.0 on JDK17+
---
 9.0/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/9.0/Dockerfile b/9.0/Dockerfile
index 2934959..3385313 100644
--- a/9.0/Dockerfile
+++ b/9.0/Dockerfile
@@ -137,4 +137,5 @@ WORKDIR /opt/solr
 USER $SOLR_USER
 
 ENTRYPOINT ["docker-entrypoint.sh"]
-CMD ["solr-foreground"]
+# TODO: Workaround for JDK17+ JIT compiler bug 
https://bugs.openjdk.org/browse/JDK-8285835)
+CMD ["solr-foreground", "-a", 
"-XX:CompileCommand=exclude,com.github.benmanes.caffeine.cache.BoundedLocalCache::put"]

Reply via email to