The Bombay Stock Exchange Sensitive Index bucked the trend in Asian markets by hitting an all-time high of 40,816.38, rallying over 340 points on Wednesday to close at 40,651.54, a rise of 181.94 or 0.45 per cent, pushed up by sharp gains in Reliance Industries (RIL), which too reached a new peak in the morning session at 1,571.85.