manifold icon indicating copy to clipboard operation
manifold copied to clipboard

Compatibility with graal native-image

Open willcohen opened this issue 5 years ago • 2 comments
trafficstars

Trying to use manifold downstream with graal's native-image using a patched for CLJ-1472 clojure yields an error with locking:

Syntax error (IllegalArgumentException) compiling fn* at (manifold/deferred.clj:456:5).
Cannot assign to non-mutable: mta

A similar issue with core.memoize reimplemented in Java. Will attempt to rewrite SuccessDeferred in Java to see if this fixes compatibility.

Additional uses of locking may require similar fixes.

willcohen avatar Nov 22 '19 15:11 willcohen

Does this still happen with the Clojure 1.10.2 test release? There were a few different patches that tried to fix this issue. Do you have a reproducing test case for this?

danielcompton avatar Mar 31 '20 01:03 danielcompton

@willcohen Do you have a test case and a Clojure version for this error?

KingMob avatar Jul 04 '21 18:07 KingMob