It’s a hint for the OS, so results can vary by platform. Not the end of the
world but not ideal.
A scarier fact is that Brian Goetz, pretty big name in Java concurrency,
recommends against in general, noting that it can lead to liveness /
starvation issues.
I pushed up a fix for cloud.sh and tagged you (Gus) on it if you can double
check.
Thanks for the feedback folks...
> On Jul 18, 2023, at 10:33 AM, Gus Heck wrote:
>
> * broken on main
>
> On Tue, Jul 18, 2023 at 10:33 AM Gus Heck wrote:
>
>> Whatever we do here, just a note to test dev-too
Thanks. I could see thread priority customization being used well in
combination with rate limiting so as to mitigate a starvation risk.
Yeah, I met Brian Goetz and have his excellent book.
~ David
On Sat, Jul 22, 2023 at 3:20 AM Mark Miller wrote:
> It’s a hint for the OS, so results can va
I think the problem is that it’s just extremely difficult to reason about.
I think that’s really the root of the concern, and he’s generally working
with code that’s likely close to hardware ideal - a thread count not much
more than the number of cores at the high end. Here you have to reason
about