It just passes a reference. It’s important to understand that the value of any expression in Java is never an object. It’s only ever a reference or a primitive value.
This isn’t just relevant for parameter passing – it’s important to understand for return types, arrays, simple assignment etc.