The Japanese are probably more xenophobic than they are racist. I've been living in Japan for 2 years- not in a major city- in real Japan. As a foreigner in Japan, you aren't from America, the UK, Peru, or Algeria, you are from 'gaikoku', meaning 'the outside'. You are either Japanese, or you aren't. Ethnic Koreans who've been living here for generations and are by all means Japanese lack the right to vote. Call that racist, but I think there is underlying xenophobia in that policy. The Japanese appear to be very open to the 'outside' the way they imitate things- fashion, music, lifestyles- but essentially all thay are doing is adopting things they lack the insight to come up with on their own and making those things 'Japanese'. It's very superficial.
Don't get me wrong, not all Japanese are racist xenophobes. But there is definitly the feeling among them that they are part of something special that is not to be intruded upon by outsiders. "We Japanese all *this*, We Japanese all *that*..." I hear it daily. I've even heard "foreigners can't eat rice everyday like the Japanese because we Japanese have special intestines". I've heard that more than once.
it's true but also white gaijin are kindof respected out of insecurity as much as out of dislike. japan has a very intriguing history. any nation that only opend up to outside in the late 19th century is bound to harnass strange ideas of foreigners. japanese respect white western culture in a curious way and us to them in a healthy way. it's a good relationship.
Look up the definitions of racism and xenophobia.
What you have described in this post is racism. Not xenophobia.
How many foreign workers are now in Japan? In the '70s and '80s, there were very few. Now, Ueno koen looks like a middle east bazaar. Not very xenophobic.
Again, racist? Yes, xenophobic? Not really.