The number of foreign workers in Japan has hit a record high, surpassing 2.3 million, local media reported over the weekend.