A phrase based on the old Atari video game,
Donkey Kong wherein a
gorilla throws barrels.
It's used to make a threat in jest- it adds levity and is obviously not a real threat by the way of its absolutely ridiculous
nature.
After all, it's not like you're actually going to throw barrels at someone.