java -> System.gc(); Does this call opens a new Thread or not?
- by ogzylz
For example I such a code
...
get some memory and lose all the pointers to that memory so that System.gc(); can collect it.
call System.gc();
do some other tasks;
Here does the "do some other tasks;" and "System.gc();" works in paralel or does the "do some other tasks;" waits for "System.gc();" to be executed
Thank you