Do not use method address for comparison (especially inline methods( because those may have multiple implementations in program image.