Two recursive calls, one tail recursive, one not

Tail-calls support in the JVM is in the scope of Project Loom: http://openjdk.java.net/projects/loom/

2 Likes