Me personally? I’ve become much less tolerant of sexist humor. Back in the day, cracking a joke at women’s expense was pretty common when I was a teen. As I’ve matured and become aware to the horrific extent of toxicity and bigotry pervading all tiers of our individualistic society, I’ve come to see how exclusionarly and objectifying that sort of ‘humor’ really is, and I regret it deeply.
I think doing those things when it’s clear, is fine. As a queer person, when I catch my friends (usually inadvertently) say something queerphobic, I’ll lean it and switch it to be critical of the cishet equivalent.
I think when it’s clear, and when it’s being used for a good reason, then there’s no issue. You make a very good point about your child though. They don’t usually get the nuances that an adult should.