I don't see JBweld holding up on a head or cylinder block.
Epoxies usually break down @ 300-400 deg. F.