Displaying 2 results from an estimated 2 matches for "matieralizefunct".
2008 Apr 18
2
[LLVMdev] Function materializing in Java
....
The second part of the patch involves multi-threading. Since
materializing a Java function involves executing Java code,
synchronizations may occur. And one can imagine a scenario where:
1) thread A requires the compilation of a function Bar.Foo, hence the
LLVM JIT takes its lock and invokes matieralizeFunction on the Java
module provider. Materializing Foo triggers the execution of Java code
that will load the class Bar. During class loading, the code
synchronizes on a object Obj already locked by another thread, B.
2) thread B is doing class loading and has locked Obj. It then calls a
function t...
2008 Apr 20
0
[LLVMdev] Function materializing in Java
...atch involves multi-threading. Since
> materializing a Java function involves executing Java code,
> synchronizations may occur. And one can imagine a scenario where:
>
> 1) thread A requires the compilation of a function Bar.Foo, hence
> the LLVM JIT takes its lock and invokes matieralizeFunction on the
> Java module provider. Materializing Foo triggers the execution of
> Java code that will load the class Bar. During class loading, the
> code synchronizes on a object Obj already locked by another thread, B.
>
> 2) thread B is doing class loading and has locked Obj....