The garbage collector runs in a low priority thread. If you just run some code that is doing nothing but calling System.gc(), then of course it will be called. However, if your code is actually trying to do something else, it really is just a "hint" as the other poster stated.
I think there may be. This was posted on the Number Theory mailing list by Gerald Tenenbaum:
"It seems, unfortunately, that Lemma 8, page 35, is wrong. Simply take
v_0=1, r(v):=(1+\cos v)/\sqrt v, \rho(v)=3/\sqrt v, and \phi(v)=v.
I imagine that such a mistake has heavy consequences."
The garbage collector runs in a low priority thread. If you just run some code that is doing nothing but calling System.gc(), then of course it will be called. However, if your code is actually trying to do something else, it really is just a "hint" as the other poster stated.
I think there may be. This was posted on the Number Theory mailing list by Gerald Tenenbaum: "It seems, unfortunately, that Lemma 8, page 35, is wrong. Simply take v_0=1, r(v):=(1+\cos v)/\sqrt v, \rho(v)=3/\sqrt v, and \phi(v)=v. I imagine that such a mistake has heavy consequences."