Page 1 of 1

enthuware.ocpjp.v11.2.1842

Posted: Sat Apr 17, 2021 6:57 pm
by ketank
(Excerpts from the justification)
...
3. It is also possible that the JVM decides not to split the stream at all.
...



If the stream is meant to be parallel, why will it not be split by JVM. Could you pls elaborate.


Thx.

Re: enthuware.ocpjp.v11.2.1842

Posted: Sun Apr 18, 2021 12:38 am
by admin
What if the JVM is running on a single core processor? Or what if the JVM is running on a shared machine where it is allowed only one core? Or what if only one core is free and all other cores available to the JVM are executing long running tasks?

There could be many reasons. Parallel execution is not a guarantee. The JVM will decide based on resources available to it.

Re: enthuware.ocpjp.v11.2.1842

Posted: Sun Apr 18, 2021 4:40 am
by ketank
Thanks for the input.