Content deleted Content added
small correction |
mNo edit summary |
||
(30 intermediate revisions by 21 users not shown) | |||
Line 1:
{{Multiple issues|
'''Adaptive optimization''' is a technique in [[computer science]] that performs [[dynamic recompilation]] of portions of a program based on the current execution profile. With a simple implementation, an adaptive optimizer may simply make a trade-off between [[Just-in-time compilation]] and interpreting instructions. At another level, adaptive optimization may take advantage of local data conditions to optimize away branches and to use [[inline expansion]] to decrease context switching.▼
{{Primary sources|date=August 2012}}
{{Refimprove|date=August 2012}}
}}
▲'''Adaptive optimization''' is a technique in [[computer science]] that performs [[dynamic recompilation]] of portions of a [[computer program|program]] based on the current execution profile.
Consider a hypothetical banking application that handles transactions one after another.
Examples of adaptive optimization include [[HotSpot (virtual machine)|HotSpot]] and HP's [[Dynamo project|Dynamo system]].<ref>[https://arstechnica.com/reviews/1q00/dynamo/dynamo-1.html HP's Dynamo]</ref>
In some systems, notably the [[Java virtual machine|Java Virtual Machine]]{{Citation needed|date=June 2011}}, execution over a range of [[Java bytecode|bytecode instructions]] can be [[Reversible_computing|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.
==See also==
{{Portal|Computer programming}}
* [[Profile-guided optimization]]
* [[Hot spot (computer programming)]]
==References==
== External links ==▼
{{Reflist}}
*[http://citeseer.ist.psu.edu/arnold00adaptive.html CiteSeer for "Adaptive Optimization in the Jalapeño JVM (2000)"] by Matthew Arnold, Stephen Fink, David Grove, Michael Hind, Peter F. Sweeney. Contains links to the full paper in various formats.▼
▲* [http://citeseer.ist.psu.edu/arnold00adaptive.html CiteSeer for "Adaptive Optimization in the Jalapeño JVM (2000)"] by Matthew Arnold, Stephen Fink, David Grove, Michael Hind, Peter F. Sweeney. Contains links to the full paper in various formats.
[[Category:Compiler optimizations]]
|