Here is a code:
Object o = new Object();
System.out.println(o.hashCode());
System.out.println(System.identityHashCode(o));
The output is similar in both syso so I want to ask if there any use case of System#identityHashCode
except using it as method reference? The reason why I am concerned about it is because java has similar pattern methods in it.