hello,

one of the guideline of project loom /virtual thread now in jdk21 is to avoid using synchronized block (and use lock) due to thread pinning issue and avoid deadlock or starvation of "worker" thread that run the virtual thread.

do you have any plan to support virtual thread in mybatis? i see a few synchronized block expecially in cache that should be replaced with a reentrant lock.

it's that something you are considering and think it's worthy?

Comment From: harawata

Hello @ramarro123 ,

There is #3017 , but it is still a draft.

Comment From: ramarro123

Oh cool didn't noticed🤣👍