Re: Clojure, JVM and/or ASM bug?

2019-02-06 Thread Alex Miller
Without spending more time poking around, it's hard for me to say exactly what the problem is, and whether it's a bug, enhancement, or won't fix. Having written a lot of Clojure code in the 8 or 9 years, I've run into head holding problems a couple times maybe. In general, it's usually not an

Re: Clojure, JVM and/or ASM bug?

2019-02-06 Thread Lars Rune Nøstdal
On Wednesday, February 6, 2019 at 5:15:53 PM UTC+2, Alex Miller wrote: > > I think the condition here means that the loop compilation can't tell that > the s local is definitely out of scope and can be cleared, so you end up > holding the head. > > While there is some analysis here, we're not

Re: Clojure, JVM and/or ASM bug?

2019-02-06 Thread Alex Miller
I think the condition here means that the loop compilation can't tell that the s local is definitely out of scope and can be cleared, so you end up holding the head. While there is some analysis here, we're not doing inference level stuff on the "if false" to knock out branches etc and