The last time this occurred was in January 2008. As recently as early 2006, Japan's market cap was 12x the size of China's.

See earlier posts Sustainability of China economic growth (top figure) and Back to the future (bottom two figures; note these are PPP adjusted).