callJavaGC: Synchronize the Java environment with the R environment
Description
This function call the garbage collector in R and sends the list of Java references
that have been collected to the Java server. These references are then removed from
the internal map.