[foreign] RFR: enable JIT in clang-ffi test
Sundararajan Athijegannathan
sundararajan.athijegannathan at oracle.com
Fri Jun 22 14:23:26 UTC 2018
I tested this patch on Mac. Build/test is fine on Mac.
-Sundar
On 22/06/18, 6:12 PM, Maurizio Cimadamore wrote:
> 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