EA builds with changes to object monitor implementation to avoid pinning with virtual threads

robert engels rengels at ix.netcom.com
Wed Apr 24 14:15:47 UTC 2024


The source is available for the two stack-traces you cited in the original email. You could edit/provide PRs to those code bases.

> On Apr 24, 2024, at 9:10 AM, Yuval Lombard <yuval.l at securithings.com> wrote:
> 
> Thanks Masoud!
> 
> Unfortunately I don't have access to the dependencies' source code 
> 
> On Wed, 24 Apr 2024 at 15:08, masoud parvari <masoud.parvari at gmail.com <mailto:masoud.parvari at gmail.com>> wrote:
> Just a side note Yuval. If you cannot wait for object.wait() rework and you have access to the dependencies' source code, you can always shadow those classes that use Object.wait() and replace the implementation with CountDownLatch or similar constructs from j.u.c.
> 
> That's what I did. Luckily the Object.wait() is a lot less prevalent in codebases compared to synchronized and wouldn't be a lot of work.
> 
> Kind regards,
> Masoud
> 
> On Wed, Apr 24, 2024 at 1:03 PM Yuval Lombard <yuval.l at securithings.com <mailto:yuval.l at securithings.com>> wrote:
> Thanks Alan!
> 
> Are you able to estimate the due date?
> 
> On Wed, 24 Apr 2024 at 11:06, Alan Bateman <Alan.Bateman at oracle.com <mailto:Alan.Bateman at oracle.com>> wrote:
> On 24/04/2024 08:51, Yuval Lombard wrote:
> > :
> >
> > I am well aware that java.lang.Object.wait continues to pin, but 
> > wanted to point out a few of the 3rd party libs that are used so you 
> > get the impression of the necessity and the anticipation for the more 
> > robust solution :)
> >
> Thank you for trying out the EA builds. The changes for Object.wait are 
> work in progress. So expect a new EA build at some point that will 
> address that issue.
> 
> -Alan
> 
> 
> -- 
> Kind regards,
> 
> Yuval Lombard
> 
> Lead Software Engineer
> 
> +972.50.548.0111
> 
> yuval.l at securithings.com <mailto:yuval.l at securithings.com>
> <logo_black.png>
> 
> 
> 
> -- 
> Kind regards,
> 
> Yuval Lombard
> 
> Lead Software Engineer
> 
> +972.50.548.0111
> 
> yuval.l at securithings.com <mailto:yuval.l at securithings.com>
> <logo_black.png>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240424/10ead1d9/attachment.htm>


More information about the loom-dev mailing list