[ 
https://issues.apache.org/jira/browse/SOLR-16463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-16463:
-------------------------------
    Description: 
Solr 9+ under JDK 17+ may crash frequently, during JVM Hotspot optimization of 
caffeine cache class.

While this is due to a JDK bug 
([https://bugs.openjdk.org/browse/JDK-8285835|https://bugs.openjdk.org/browse/JDK-8285835)])
 it will likely not be fixed soon in JDK17(?), so we should make a workaround 
to protect our users.

 

Due to a known bug in current JDK 17 and later (see 
[https://lists.apache.org/thread/wg7qtkddd1t5h08okj7gm9qbrpdf0ox6] and 
[)|https://bugs.openjdk.org/browse/JDK-8285835)]  due o Hotspot JIT 
optimization o.

in e.g. a kubernetes environent.

A known workaround is to build your own Solr docker image on JRE11. Let's 
provide a convenience official image on temurin11 for 9.0 users, and consider 
it for the upcoming 9.1 release too if the issue is not resolved by then.

  was:
Due to a known bug in current JDK 17 (see 
[https://lists.apache.org/thread/wg7qtkddd1t5h08okj7gm9qbrpdf0ox6] and 
[https://bugs.openjdk.org/browse/JDK-8285835)] Solr 9.0 under temurin17 may 
crash frequently in e.g. a kubernetes environent.

A known workaround is to build your own Solr docker image on JRE11. Let's 
provide a convenience official image on temurin11 for 9.0 users, and consider 
it for the upcoming 9.1 release too if the issue is not resolved by then.


> Serious crash on JDK17+ due to JIT on caffeinecache
> ---------------------------------------------------
>
>                 Key: SOLR-16463
>                 URL: https://issues.apache.org/jira/browse/SOLR-16463
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Docker
>    Affects Versions: 9.0
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Blocker
>             Fix For: 9.1
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Solr 9+ under JDK 17+ may crash frequently, during JVM Hotspot optimization 
> of caffeine cache class.
> While this is due to a JDK bug 
> ([https://bugs.openjdk.org/browse/JDK-8285835|https://bugs.openjdk.org/browse/JDK-8285835)])
>  it will likely not be fixed soon in JDK17(?), so we should make a workaround 
> to protect our users.
>  
> Due to a known bug in current JDK 17 and later (see 
> [https://lists.apache.org/thread/wg7qtkddd1t5h08okj7gm9qbrpdf0ox6] and 
> [)|https://bugs.openjdk.org/browse/JDK-8285835)]  due o Hotspot JIT 
> optimization o.
> in e.g. a kubernetes environent.
> A known workaround is to build your own Solr docker image on JRE11. Let's 
> provide a convenience official image on temurin11 for 9.0 users, and consider 
> it for the upcoming 9.1 release too if the issue is not resolved by then.



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

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

Reply via email to