Closed xiaohe27 closed 9 years ago
The problem is the addr of two obj with the same val is different. The hash code should be the same, think about how to overcome
a tmp fix is: using string as the index of monitors instead of the weak-ref thing. We may not want to distinguish two things having same val but occurs in different places.
Seems that it will report violations after 128 instances are generated anyway