[foreign] RFR: enable JIT in clang-ffi test

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Jun 22 12:42:37 UTC 2018


Uploaded a new revision which also takes care of the fact that this test 
doesn't run on Linux because of missing includes.

Webrev:

http://cr.openjdk.java.net/~mcimadamore/panama/clang-ffi-jit_v2/

Maurizio


On 21/06/18 14:58, Maurizio Cimadamore wrote:
> The clang-ffi test currently runs with JIT disabled. This is because 
> there's a bug in how the panama-based clang sets up the call to 
> "clang_toggleCrashRecovery"; this call should occur after index 
> creation, not before (same as we do in JNI code).
>
> With this fix, I've been able to run the test reliably in JIT mode.
>
> Webrev:
>
> http://cr.openjdk.java.net/~mcimadamore/panama/clang-ffi-jit/
>
> P.S.
> Maybe a run on MacOs would be better :-)
>
> Cheers
> Maurizio
>



More information about the panama-dev mailing list