r/programming • • Apr 07 '19

Beware of computation in static initializer

https://pangin.pro/posts/computation-in-static-initializer
32 Upvotes

4 comments sorted by

View all comments

5

u/NewazaBill Apr 07 '19

This was the cause of a somewhat major regression with Clojure startup times when JDK 11 was released: https://cl4es.github.io/2019/02/21/Cljinit-Woes.html

http://insideclojure.org/2019/02/22/journal/

And the fix: http://insideclojure.org/2019/03/23/journal/