Experiencing an issue with ScheduledExecutorService alongside VT
Yuval Lombard
yuval.l at securithings.com
Sun Jul 28 11:41:23 UTC 2024
Hi Team,
For the sake of accuracy and integrity, I have noticed the previous thread
dump was taken from a piece of code that does not match the provided
example I attached in the first couple of mails I have sent.
I have attached a new thread dump file that was taken from the exact
version of the code I was testing.
Will appreciate it if you could take a look again just to make sure you see
the issue ( related to preemption when cancelling a timer after
Object.wait(millis) ) you found in the previous dump I attached.
Apologies
On Mon, 22 Jul 2024 at 14:45, Yuval Lombard <yuval.l at securithings.com>
wrote:
> Thanks Alan
>
> I will take a look into those builds
>
> On Mon, 22 Jul 2024 at 12:52, Alan Bateman <Alan.Bateman at oracle.com>
> wrote:
>
>>
>>
>> On 22/07/2024 10:11, Yuval Lombard wrote:
>> > Hi Alan,
>> >
>> > Thanks, sorry for the confusion, we also saw this odd release, and got
>> > read of it, it was just a side note btw, because I realized I did not
>> > attach how I have created my scheduler, so I elaborated on this as well.
>> >
>> > Just to make sure by SPTE what exactly do you mean?
>> I mean ScheduledThreadPoolExecutor (STPE), likely code calling
>> Executors.newScheduledThreadPool with a ThreadFactory that creates
>> virtual threads.
>>
>> >
>> > We are running into some difficulties now after upgrading to the
>> > latest EA based on jdk24 where most of our utilized framework's libs
>> > are not supporting it yet (Spring, and Spring-Boot)
>> > So if there is an older available EA build based on jdk23 that may be
>> > addressing one of the possible issues that may got us into this
>> > locking state, we will be happy to test it.
>> > Otherwise it will require some work from our end in order to try to
>> > package our app
>>
>> JDK main line, and the loom repo, moved to targeting JDK 24 in June and
>> not really feasible to go back. There are Spring engineers testing EA
>> builds from Project Leyden and those builds are also based on main line
>> so there may be Spring builds that support JDK 24 EA builds. I realize
>> it means testing a combination of EA bits.
>>
>> -Alan
>>
>
>
> --
>
> Kind regards,
>
> *Yuval Lombard*
>
> *Lead Software Engineer*
>
> +972.50.548.0111
>
> yuval.l at securithings.com
>
> [image: logo_black.png]
>
--
Kind regards,
*Yuval Lombard*
*Lead Software Engineer*
+972.50.548.0111
yuval.l at securithings.com
[image: logo_black.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240728/23940094/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_black.png
Type: image/png
Size: 99833 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240728/23940094/logo_black-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thread_dump
Type: application/octet-stream
Size: 369440 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240728/23940094/thread_dump-0001.obj>
More information about the loom-dev
mailing list