What does ‘slammer’ mean?

slammer

( n ) Jail or prison. The police threw them both in the slammer.