SAN FRANCISCO -- Major-league RBI leader Chris Davis spoiled the San Francisco Giants' strategy to intentionally walk Adam Jones by smacking a two-out, two-run double in the top of the 10th inning, highlighting a three-run uprising that gave the Baltimore Orioles a 5-2 victory on Friday night.
The Orioles rallied for a third straight win to open their eight-game road trip after Hunter Pence had singled in Brandon Belt in the bottom of the ninth inning off Orioles closer Jim Johnson to rally the Giants into a 2-2 tie.
Manny Machado doubled off the glove of Giants shortstop Brandon Crawford with one out in the 10th to ignite the winning inning.
After left-hander Javier Lopez (1-2) got Nick Markakis on a comebacker for the second out, the Giants opted to walk the right-handed-hitting Jones, who had two earlier hits, and face the lefty-swinging Davis.
But baseball's premier run producer did it again, driving in Machado and Jones with his 107th and 108th RBIs of the season with a high drive to deep center field.
Matt Wieters followed with a single to center to score Davis, increasing the Baltimore lead to 5-2.
Despite the blown save, Johnson (3-7) got the win. Tommy Hunter pitched a scoreless bottom of the 10th for his third save.
The win was the Orioles' fifth in a row in interleague play and ran their record in the state of California this season to 9-2.
The Orioles appeared headed for a regulation win after Chris Tillman held the Giants to one run and four hits in eight innings. But Johnson, the major-league leader in saves with 39, couldn't close the door in the ninth.
Pence singled in Belt, who earlier had homered, to tie the score as the first three Giants to face Johnson got on base.
San Francisco eventually got Buster Posey, who represented the potential winning run, to third base with out one, but Johnson struck out Roger Kieschnick and got Gregor Blanco on a soft liner to second base to force extra innings.
Neither starting pitcher factored in the decision.
Tillman had been pursuing a fifth consecutive interleague win and his 11th victory overall in his last 12 outings. He gave up a two-out home run to Belt in the sixth, but only one other Giant advanced as far as second base.
The right-hander struck out a career-best nine and walked just one.
The Giants' Ryan Vogelsong was making his first start since breaking bones in and below his right pinkie finger while batting in a game against Washington on May 20.
The Orioles scored single runs in each of the first two innings. J.J. Hardy produced the second-inning run with a home run, his 20th of the season.
Vogelsong settled down after a shaky start to give the Giants six innings when it appeared he might not get out of the third.
The Orioles got two hits in each of the first three innings, scoring once in the first after a Machado double and again in the second on Hardy's solo home run.
But Vogelsong got Hardy to line out to deep left with two runners on base to end the third, then retired eight of the last 10 batters he faced, allowing no more runs or hits. He finished with three walks and four strikeouts.
The Giants trailed 2-0 before Belt hit a homer over the 421-foot mark in right-center with two outs in the sixth.
NOTES: Tillman's only previous interleague road start also was at San Francisco on June 14, 2010. He lasted only two innings in that outing, allowing six runs. ... The last Orioles shortstop to his 20 or more home runs in three consecutive seasons was Miguel Tejada from 2004-06. Before that, Cal Ripken Jr. accomplished the feat 10 straight years (1982-91). ... No major-league shortstop other than Hardy hit at least 20 homers in each of the past two seasons. ... Machado's first-inning double was just his third since July 1. He had 38 in the first three months of the season and still leads the American League. ... The Giants optioned reliever RHP Jean Machi to Triple-A Fresno on Friday to make room for Vogelsong on the active roster. ... Vogelsong entered the game with a 3-0 record and 0.65 ERA in four career home interleague starts.