On Tue, 30 Nov 2021 23:10:39 GMT, Paul Sandoz <psan...@openjdk.org> wrote:
>> kabutz has updated the pull request incrementally with one additional commit >> since the last revision: >> >> Made forkOrInvoke() method protected to avoid strange compiler error > > src/java.base/share/classes/java/math/BigInteger.java line 1874: > >> 1872: */ >> 1873: private static final int PARALLEL_FORK_THRESHOLD = >> Integer.getInteger( >> 1874: "java.math.BigInteger.parallelForkThreshold", > > I suspect we don't need this system property, there is no such property for > streams. We use `ForkJoinPool.getCommonPoolParallelism()`, which is > configurable as an escape hatch. Agreed. It is easier to add something in if we need it, than to take it out once we have offered it. ------------- PR: https://git.openjdk.java.net/jdk/pull/6409