Anomalous plasma heating induced by modulation of the current-density profile