# Virtual threads for workflow worker doesn't work

**URL:** <https://community.temporal.io/t/virtual-threads-for-workflow-worker-doesnt-work/18731>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [December 5, 2025, 10:23am UTC](https://community.temporal.io/t/virtual-threads-for-workflow-worker-doesnt-work/18731 "2025-12-05T10:23:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ondrej\_Benda](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/ondrej_benda/32/7399_2.png) [@Ondrej\_Benda](https://community.temporal.io/u/Ondrej_Benda)\
**Post date:** [December 5, 2025, 10:23am UTC](https://community.temporal.io/t/virtual-threads-for-workflow-worker-doesnt-work/18731/1 "2025-12-05T10:23:43Z")

</div>

There is probably a mistake in WorkerOptions where VirtualThreadsOnWorkflowWorker returns state of VirtualThreadsOnActivityWorker.

I would expect that it returns state of VirtualThreadsOnWorkflowWorker.

@Experimental  
public boolean isUsingVirtualThreadsOnWorkflowWorker() {  
return usingVirtualThreadsOnActivityWorker;  
}

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [December 8, 2025, 7:43pm UTC](https://community.temporal.io/t/virtual-threads-for-workflow-worker-doesnt-work/18731/2 "2025-12-08T19:43:33Z")

</div>

Thanks - [WorkerOptions isUsingVirtualThreadsOnWorkflowWorker issue · Issue #2745 · temporalio/sdk-java · GitHub](https://github.com/temporalio/sdk-java/issues/2745)
