Knockdown of G9a inhibited apoptosis and injury in OGD-treated cardiomyocytes and attenuated the extent of HF and myocardial injury in rats. Here, EHMT2 is linked to hydrops fetalis.