  We consider shape optimization problems of maximizing the averaged heat under
various boundary conditions. Assuming that the heat source is radial, we obtain
several local stability and global optimality results on ball shape. As a
byproduct of stability analysis, we show that Talenti type pointwise comparison
result is no longer true under Robin conditions even if the domain is a smooth
small perturbation of a ball.
