[ 
https://issues.apache.org/jira/browse/FELIX-6720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17864532#comment-17864532
 ] 

Carsten Ziegeler commented on FELIX-6720:
-----------------------------------------

Sounds like a good addition, I guess we can just check the major java version 
to be >= 21 (via System.getProperty("java.version") ) and then have a 
configuration to enable this

> Enable virtual thread support in Jetty12 
> -----------------------------------------
>
>                 Key: FELIX-6720
>                 URL: https://issues.apache.org/jira/browse/FELIX-6720
>             Project: Felix
>          Issue Type: Improvement
>          Components: HTTP Service
>         Environment: Jdk 19+
>            Reporter: Paul Rütter
>            Priority: Major
>
> I was reading 
> [https://jetty.org/docs/jetty/12/programming-guide/arch/threads.html#thread-pool-virtual-threads,]
>  and wondered if it would make sense to make this configurable in Felix HTTP 
> bundle for jetty12. 
> It would need adding here (conditionally), probably via using reflection to 
> support pre jdk 21. 
> [https://github.com/apache/felix-dev/blob/8b2d2faa3669472f50020f7165a076af103c76e9/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java#L279]
> [~cziegeler] what do you think? 



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

Reply via email to