Cavitation in adhesives