JNI calls that don't return

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ian Rogers wrote:
> Some VMs require all Java threads to run upto a garbage collection 
> barrier before garbage collection can be performed. If a Java
> thread never leaves JNI code then this will never happen and the
> VM deadlocks.

Why not fix the VM? Real world applications are likely to have this
issue as well, besides how is this any different from blocking on I/O
inside a JNI method for a very long time?

Regards,
Jeroen


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux