The first parameter of the methods `zRelocate.cpp/forwarding_[index|find|insert]` is always `ZForwarding* forwarding`. Actually, these methods should be placed in the class `ZForwarding` so that the first parameter can be added by the compiler and it can improve the encapsulation.
But the non-generational ZGC can't make such a move because the method signatures may be duplicate.
But the non-generational ZGC can't make such a move because the method signatures may be duplicate.