To be fair, I've got plenty of white (or white passing) male friends who also ended up in roles with a shortage of work to do. There's this awkward period between someone being hired, and them being familiar enough with the workplace to actively seek out stuff that needs to be done that leaves a lot of people with very little to do.
My sister, though, had been in her role for 2+ years but still only had work to keep her busy maybe 30% of the time. Similar situation with one of my past girlfriends. These were both Product Managers - I think it's less of an issue for software developers, since there's always a backlog to hack away at.