This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-17
Channels
- # architecture (115)
- # asami (64)
- # aws (2)
- # babashka (65)
- # beginners (91)
- # calva (21)
- # clara (3)
- # cljdoc (5)
- # cljsrn (1)
- # clojure (331)
- # clojure-australia (15)
- # clojure-europe (16)
- # clojure-italy (7)
- # clojure-nl (8)
- # clojure-uk (10)
- # clojurescript (10)
- # conjure (4)
- # core-typed (6)
- # cryogen (12)
- # data-science (1)
- # datomic (9)
- # depstar (2)
- # emacs (1)
- # events (1)
- # figwheel-main (1)
- # fulcro (2)
- # graalvm (9)
- # helix (4)
- # java (45)
- # kaocha (4)
- # malli (14)
- # meander (4)
- # membrane (34)
- # mid-cities-meetup (6)
- # pedestal (3)
- # re-frame (7)
- # reitit (4)
- # shadow-cljs (4)
- # spacemacs (5)
- # sql (29)
- # tools-deps (22)
GraalVM 20.3.0 webinar tomorrow: https://twitter.com/graalvm/status/1328734753349103617
Looks like 20.3.0 is now live: https://www.graalvm.org/release-notes/20_3/
Hadn’t noticed the https://www.graalvm.org/docs/tools/dashboard/?ojr=help%3Btopic%3Dcode-size-histogram.md before, looking forward to giving it a whirl.
Interesting: > Added support for method handles that represent a call to a single method accessible by the Reflection API Maybe this fixes the issue with clojure.lang.Reflector
@borkdude, have you tried a compile yet? I’m doing some tests on rewrite-cljc. Under GraalVM 20.3.0 jdk8 https://github.com/oracle/graal/issues/2898#issuecomment-704233795. When I remove
--initialize-at-run-time=java.lang.Math$RandomNumberGeneratorHolder
the compile works.Released clj-reflector-graal-java11-fix for GraalVM 20.3.0 https://github.com/borkdude/clj-reflector-graal-java11-fix
which still seems necessary, removing it caused this error, which seems a bit different than previous versions:
Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Invoke with MethodHandle argument could not be reduced to at most a single call or single field access. The method handle must be a compile time constant, e.g., be loaded from a `static final` field. Method that contains the method handle invocation: java.lang.invoke.Invokers$Holder.invoke_MT(Object, Object, Object, Object)
To enable method handles that do not require LambdaForm interpretation (e.g. because of a call to MethodHandle.bindTo()) or to diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The error is then reported at run time when the invoke is executed and the method handle has to be interpreted.