9 hours is plenty of time. I would get the Heathrow Connect (I refuse to be extorted by the HEX) to Paddington then jump on the Bakerloo Line to Piccadilly Circus, or even Waterloo and walk up to Westminster/Buckingham Palace/Bond Street from there.
A nice alternative if you've done London before would be to get a taxi and spend a few hours in Windsor.