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

Reply via email to