Im not sure the motor sitting on a encoder transistion is a problem either. If you use a schmitt trigger on the input it should be ok but I thought i would just avoid the possibility.
500 line encoders and 6000 rpm seems a bit tricky it only gives you 80 clock cycles to get everything done. You might need to use a external counter.