I don't get it. Are there folks amongst us that really so socially inept that they think its ok to make a dick joke at a conference regardless of context? Its a professional conference and that is not professional behavior.
But it's not, because you still bring along a lot of your experience with you into the hypothetical. You're used to being in the majority. You are unlikely to have experienced unwanted sexual advances, sexual harassment, or sexual assault. You are at low risk of those happening in the future.
So a period joke (which isn't sexual) wouldn't phase you. Even some joke that does sexualize the context probably wouldn't bother you. You'll still feel as safe and respected as before. But that's not true for a lot of women.