问题
Is it somehow possible to get the object id programmatically, which is seen in the debug tooltip in eclipse?
回答1:
This is an internal ID from the eclipse debugger and has nothing to do with the JVM.
You can check this question for more information and a possible way to retrieve it.
来源:https://stackoverflow.com/questions/12578608/how-to-get-eclipse-debug-id-of-an-object