Fujitsu accelerates verification of Java software through parallel processing

Dec 24, 2010
Test case and test data generation

Fujitsu Laboratories of America, Inc. and Fujitsu Laboratories Ltd. today announced the development of technology enabling high-speed exhaustive verification of Java software using parallel processing. In order to ensure the quality of ICT systems, it is critical that software programs be sufficiently tested. By employing this new technology that leverages the power of cloud computing, on previous technologies enabling exhaustive verification of programs developed by Fujitsu Laboratories, time required for verification can be dramatically shortened, leading to expectations that the technology will result in enhancement of program quality.

Ensuring the quality of ICT systems that are at the heart of businesses today requires thorough testing to verify whether the programs that provide the system's functionality work as expected. Testing the underlying software of a shopping website, for example, involves generating numerous test cases (test case generation) that represent different permutations of user actions and circumstances, such as whether or not a product ID or the correct quantity was entered, and generating data for each permutation (test data generation) to be fed, one at a time, into the software program. Using these data, programmers must check that the program actually operates properly (verification through testing).

Java PathFinder, a verification tool developed by the National Aeronautics and Space Administration (NASA) in the United States, provides functions for automatically executing tests on Java programs using a technique called symbolic execution, without the need to manually enter any test cases or test data. Fujitsu Laboratories has worked to expand these functions, making it possible to process character string data, which accounts for much of the data typically processed by business applications, thus enabling verification of business applications that entail such character string data.

Overview of symbolic execution

With existing technologies, the processing time involved in verifying programs containing a few tens of thousands of lines of code, even with a restricted input data set, can take several hours. As a result, it has become an important challenge to develop technology that shortens this verification time.

Fujitsu Laboratories has developed technology that performs verification of Java software in parallel. This makes it possible to accelerate the verification process by leveraging the computational power of cloud computing. In an experiment using ten processing nodes, the new software achieved approximately ten times the performance of existing technology.

Key features of the new technology are follows:

1. Parallelization technology that divides the symbolic execution processing and allocates it across multiple processing nodes
With symbolic execution, a search process is performed on a program's tree structure that traces the conditional branches within the program. Fujitsu's new technology divides this tree structure and allocates parts of it to multiple processing nodes, accelerating the testing by processing these branches in parallel.

2. Dynamic load balancing reallocates the processing of overloaded nodes to idle nodes
Depending on the program contents, an imbalance may occur in the traversal loads that are allocated to each node, making it impossible to reduce processing time, even via parallelized execution. The new technology monitors the traversal of each node, and if its processing is not finished within a specified period of time, the monitoring function repartitions the heavy computation at that node and reallocates the partitions to other nodes that are finished and lying idle. This balances out the processing load of each node, thereby preserving the speed-up obtained through parallelized processing.

Parallelization and load-leveling of symbolic execution

Increasing the number of processing nodes through methods like cloud computing makes it possible to quickly verify large-scale programs. This is expected to greatly contribute to improving the quality of software programs.

Fujitsu Laboratories is continuing to enhance this technology through internal testing, and aims to commercialize it during fiscal 2011 (April 2011 - March 2012). The company is also considering offering the technology as a cloud-based service.

Explore further: A new kind of data-driven predictive methodology

add to favorites email to friend print save as pdf

Related Stories

Fujitsu Releases New Global Server GS21

Apr 15, 2009

Fujitsu Limited today announced that it has developed new mainframe sever models, the ultra-high performance GS21 1600 model group and the high-performance GS21 1400 model group, both of which employ a new ...

Fujitsu, JAEA Unveil Japan's Fastest Supercomputer

Mar 03, 2010

Fujitsu today announced that it has completed joint development of a new supercomputer system with the Japan Atomic Energy Agency (JAEA). The new supercomputer system went operational today.

Recommended for you

Five ways the superintelligence revolution might happen

Sep 26, 2014

Biological brains are unlikely to be the final stage of intelligence. Machines already have superhuman strength, speed and stamina – and one day they will have superhuman intelligence. This is of course ...

User comments : 1

Adjust slider to filter visible comments by rank

Display comments: newest first

Bob_B
not rated yet Dec 24, 2010
A few 1000 lines of code is about the size of a senior college project. What about several hundreds of 1000's lines of code, similar to real world projects?

Of course real world projects with large code bases seldom use Java, it is so slow.