Preheat oven to 425F.
Place the drained olives and garlic cloves in a single layer in a baking dish.
In a small bowl mix together the olive oil, thyme, rosemary, and salt. Pour the mixture over the olives and use your hands to make sure each olive is coated in the marinade.
Place the baking dish into the oven for 15 to 20 minutes, making sure to stir and flip the olives halfway through cook time.
The dish is done when the garlic cloves are lightly browned and the olives are bubbly and a bit shriveled.
Serve straight from the oven or allow to cool to room temperature.