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

Explore slicing to curtail scalability issues #108

Closed khatchad closed 6 years ago

khatchad commented 6 years ago

Can we slice up based on reaching definition of stream and non-stream objects? So if there is a part of the program to which no definition of streams or objects that stream touch reach, then that part can be ignored.

khatchad commented 6 years ago

@mbagherz Would we need an interprocedural CFG to figure https://github.com/ponder-lab/Optimize-Java-8-Streams-Refactoring/issues/108#issue-274664134 out?

khatchad commented 6 years ago

Seems interesting: https://github.com/wala/WALA/wiki/Slicer.

khatchad commented 6 years ago

Also seems useful: https://github.com/ponder-lab/Optimize-Java-8-Streams-Refactoring/blob/775540bf05d4ded07aebda2927d7579e0d2d4f8c/edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/analysis/Util.java#L597-L602.