On Tue, 16 Nov 2021 20:45:05 GMT, Simon Roberts 
<[email protected]> wrote:

> Is there not also an architectural consideration here? I'm inclined to think 
> that just because execution in parallel finishes in less wall time does not 
> mean that's the right thing to do. Those CPUs will be unavailable for other 
> work, and in any multi-user/client type system, that effectively makes life 
> worse for the others, doesn't it?

Exactly, which is why we would need a kill-switch (or an on-switch) if we don't 
have a public parallelMultiply() method. It would then be either on or off for 
_all_ multiplies, albeit only for large numbers.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6409

Reply via email to