recursivetask

RecursiveTask Throwing StackOverflowError While executing ForkJoin

前提是你 提交于 2019-12-13 03:28:50
问题 I designed a RecursiveTask Here is the code for task I designed. public class SearchTask extends RecursiveTask<Map<Short, Long>> { private static final long serialVersionUID = 1L; private int majorDataThreshold = 16001; private ConcurrentNavigableMap<Short, Long> dataMap; private long fromRange; private long toRange; private boolean fromInclusive; private boolean toInclusive; public SearchTask(final Map<Short, Long> dataSource, final long fromRange, final long toRange, final boolean