Imo there's 3 ways to do - ism in roleplaying games:
1: Ignore it, this is a common way to keep the game fun and easy to play.
Games like DnD, demigods use this method to let everyone have a good time.
2: Realism, try to keep things realistic and use the -ism as a part of the story you are creating.
GURPS (yeah!) or Call of Cthulhu is what comes to mind, reactions and rolls will be different if you are a "minority" but that is often part of the system and you knlw this making your character.
3: The Point, The -ism isn't just a part of the game it is the focus.
Shadowrun is one game that use -ism and won't let you forget it.
Media like The handmaid's tail is another good example.
I personally like to play female character and expect some sexism towards her but if the GM started going over the top lile in your example I'd be mad too.
I'm not going to go into my personal experience and options on -ism but I think the issue with way nr 2 is that, it is a lot different depending on personal opinions and experiences.