[
https://issues.apache.org/jira/browse/SYNCOPE-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18033156#comment-18033156
]
ASF subversion and git services commented on SYNCOPE-1923:
----------------------------------------------------------
Commit 0b7e2fc93efa2dc4ac2ebcf8bf6eb93c0673ab74 in syncope's branch
refs/heads/4_0_X from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=0b7e2fc93e ]
[SYNCOPE-1923] Virtual Threads disabled by default, enabled for Docker with JDK
25
> Virtual Threads and JDK versions
> --------------------------------
>
> Key: SYNCOPE-1923
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1923
> Project: Syncope
> Issue Type: Task
> Components: docker, documentation
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Priority: Major
>
> After SYNCOPE-1781, Virtual Threads were ubiquitously adopted, both with
> internal thread pools and when running Syncope components as standalone
> [Spring Boot
> applications|https://docs.spring.io/spring-boot/3.4/reference/features/spring-application.html#features.spring-application.virtual-threads]
> e.g. the property
> {code:java}
> spring.threads.virtual.enabled=true
> {code}
> was set by default on all components.
> JDK 21 was also set as a minimum required version.
> It was found recently, however, that Virtual Threads might be troublesome and
> lead to concurrency issues, due to a [JDK
> bug|https://mail.openjdk.org/pipermail/loom-dev/2024-July/007001.html] that
> was fixed with JDK 24.
> Thus, the combination of application settings and JDK version might turn into
> unstable deployments.
> We can address this potential issue by:
> * not enabling by default Virtual Threads for Spring Boot
> * setting JDK >= 24 for Docker images, with Virtual Threads enabled
> * adjusting the documentation
--
This message was sent by Atlassian Jira
(v8.20.10#820010)