Such runtime statistical analysis and real-time optimization is not possible in an application that is compiled to native code.
For $189, I can slap a 240GB SSD in the machine to make software more performant. The question you have to ask is: How much optimization can a senior-level programmer accomplish for $189?
JDeveloper (an IDE) takes about 30 seconds to start on my co-workers' computers. On my laptop, boasting a 240GB SSD, JDeveloper is ready in about 5 seconds.
See also: http://stackoverflow.com/a/145122/59087
And see also: http://www.ibm.com/developerworks/java/library/j-jtp09275/