lejos NXJ is currently set to preempt the running thread every 2 milliseconds. It uses a 1 millisecond interrupt to generate a tick, and TICKS_PER_TIME_SLICE is set to 2 on the NXT. It was set to 20 on the RCX.