Green’s Dictionary of Slang

tom and jerry v.

[for ety. see tom and jerry n.1 ]

to indulge in drinking, to go on a spree; thus tom-and-jerrying n.

[UK]Lights and Shades I 124: No drinking and raking. No Tom-and-Jerrying in those days [OED].