Code size breakdown:
It seems GraalVM 21.0 handles the clojure.lang.Reflector Java 11 methodhandle correctly. So (probably) no more workaround needed for this 🎉
Another useful way to see what is being included in the image:
left is with core.match, right is without core.match
good way to verify if including a lib isn't pulling in more that you would like to
This is with the "-H:+PrintAnalysisCallTree"
option