I think the answer to your questions can be found here: http://java.sun.com/docs/books/jni/html/refs.html
As written:
Local and global links have different lifetimes. Local links are automatically freed, while global and weak global links remain valid until they are freed by the programmer.
Difference Between Local Links and Global Links: Context
A local reference is a local variable. The main object will be destroyed after you exit its context (for example, return from the built-in function that defined it).
Like global references, weak global references remain valid calls of own methods and different flows. Unlike global links, weak global links do not save the underlying object from garbage collection.
The difference between weak global links and global links is that the object referenced by a weak one can be assembled if necessary (in the absence of memory).
Mesop source share