ponder-lab / Optimize-Java-8-Streams-Refactoring

Refactorings for optimizing Java 8 stream client code for greater parallelism and efficiency.
http://cuny.is/streams
Eclipse Public License 1.0
8 stars 7 forks source link

Got StackOverflowError while evaluating htm.java with K =1 #200

Open yiming-tang-cs opened 6 years ago

yiming-tang-cs commented 6 years ago

When the K = 1, there is a exception.

java.lang.StackOverflowError
    at edu.cuny.hunter.streamrefactoring.core.analysis.StreamStateMachine$$Lambda$485/1470607708.<init>(Unknown Source)
    at edu.cuny.hunter.streamrefactoring.core.analysis.StreamStateMachine$$Lambda$485/1470607708.get$Lambda(Unknown Source)
    at edu.cuny.hunter.streamrefactoring.core.analysis.StreamStateMachine.computePossibleOriginStreams(StreamStateMachine.java:534)
    at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)

Found this issue from https://github.com/ponder-lab/Stream-Performance-Refactoring-Paper/issues/29

khatchad commented 6 years ago

Please detail the steps to reproduce.