Adaptive optimization: Difference between revisions

Content deleted Content added
Added {{primary sources}} and {{ref improve}} tags to article (TW)
fix DAB link, +
Line 6:
 
==Examples==
* [[HotspotHotSpot]] [[Java performance#Adaptive optimization|Adaptiveadaptive optimization in Java]]
* HP's Dynamo system <ref>[http://arstechnica.com/reviews/1q00/dynamo/dynamo-1.html HP's Dynamo]</ref>
 
==Deoptimization==
In some systems, notably the [[Java Virtual Machine]]{{Citation needed|date=June 2011}}, execution over a range of [[Java bytecode|bytecode instructions]] can be provably reversed. This allows an adaptive optimizer to make risky assumptions about the code. In the above example, the optimizer may assume all transactions are checks and all account numbers are valid. When these assumptions prove incorrect, the adaptive optimizer can 'unwind' to a valid state and then interpret the byte code instructions correctly.
 
==See also==
* [[Profile-guided optimization]]
* [[Hot spot (computer science)]]
 
==References==