This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
This question has nothing to do with garbage collection, it relates purely to parameter passing.
As s is passed by value, outside the function the reference to v still exists. As a result v will not be garbage collected at this point, but rather vh will be eligible for GC after the function terminates.