Abstract
We describe a methodology for evolving Java bytecode, enabling the evolution of extant, unrestricted Java programs, or programs in other languages that compile to Java bytecode. Bytecode is evolved directly, without any intermediate genomic representation. Our approach is based upon the notion of compatible crossover, which produces correct programs by performing operand stack-, local variables-, and control flow-based compatibility checks on source and destination bytecode sections. This is in contrast to existing work that uses restricted subsets of the Java bytecode instruction set as a representation language for individuals in genetic programming. Given the huge universe of unrestricted Java bytecode, as is programs, our work enables the applications of evolution within this realm. We experimentally validate our methodology by both extensively testing the correctness of compatible crossover on arbitrary bytecode, and by running evolution on a program that exploits the richness of the Java virtual machine architecture and type system.
Original language | English |
---|---|
Title of host publication | Proceedings of the 11th Annual Genetic and Evolutionary Computation Conference, GECCO-2009 |
Pages | 1043-1050 |
Number of pages | 8 |
DOIs | |
State | Published - 31 Dec 2009 |
Event | 11th Annual Genetic and Evolutionary Computation Conference, GECCO-2009 - Montreal, QC, Canada Duration: 8 Jul 2009 → 12 Jul 2009 |
Conference
Conference | 11th Annual Genetic and Evolutionary Computation Conference, GECCO-2009 |
---|---|
Country/Territory | Canada |
City | Montreal, QC |
Period | 8/07/09 → 12/07/09 |
Keywords
- Java bytecode
- Software evolution
ASJC Scopus subject areas
- Computational Theory and Mathematics
- Theoretical Computer Science