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 <markrmil...@gmail.com> wrote: > 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. >