• DocumentCode
    1966178
  • Title

    An experimental study of methods for executing test suites in memory constrained environments

  • Author

    Bhadra, Suvarshi ; Conrad, Alexander ; Hurkes, Charles ; Kirklin, Brian ; Kapfhammer, Gregory M.

  • Author_Institution
    Milcord LLC, Waltham, MA
  • fYear
    2009
  • fDate
    18-19 May 2009
  • Firstpage
    27
  • Lastpage
    35
  • Abstract
    Software for memory constrained mobile devices is often implemented in the Java programming language because the Java compiler and virtual machine (JVM) provide enhanced safety, portability, and the potential for run-time optimization. However, testing time may increase substantially when memory is limited and the JVM employs a compiler to create native code bodies. This paper furnishes an empirical study that identifies the fundamental trade-offs associated with a method that uses adaptive native code unloading to perform memory constrained testing. The experimental results demonstrate that code unloading can reduce testing time by 17% and the code size of the test suite and application under test by 68% while maintaining the overall size of the JVM. We also find that the goal of reducing the space overhead of an automated testing technique is often at odds with the objective of decreasing the time required to test. Additional experiments reveal that using a complete record of test suite behavior, in contrast to a sample-based profile, does not enable the code unloader to make decisions that markedly reduce testing time. Finally, we identify test suite and application behaviors that may limit the effectiveness of our method for memory constrained test execution and we suggest ways to mitigate these challenges.
  • Keywords
    Java; mobile computing; program compilers; program testing; virtual machines; Java compiler; Java programming language; adaptive native code unloading; automated testing technique; memory constrained mobile devices; virtual machine; Automatic testing; Computer languages; Constraint optimization; Java; Optimizing compilers; Program processors; Runtime; Safety devices; Software safety; Virtual machining;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automation of Software Test, 2009. AST '09. ICSE Workshop on
  • Conference_Location
    Vancouver, BC
  • Print_ISBN
    978-1-4244-3711-5
  • Type

    conf

  • DOI
    10.1109/IWAST.2009.5069038
  • Filename
    5069038