Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Dynamic Checking with NASA's Java PathFinder

Chapter 6. Dynamic Checking with NASA's Java PathFinder

It's not the Mars PathFinder (http://mpfwww.jpl.nasa.gov/default.html), but the Java PathFinder (http://javapathfinder.sourceforge.net) has been to space. Quoting the web site, Java PathFinder was developed "at the NASA Ames Research Center. Started in 1999 as a feasibility study for software model checking, JPF has found its way into academia and industry, and has even helped detect defects in real spacecraft."

NASA's Java PathFinder (JPF for short) is an instrumented JVM that provides a state model checker. It runs your program by trying all potential execution paths through it, checking properties as it goes to detect problems like deadlocks or unhandled exceptions. JPF is good at finding those rarely occurring, unpredictable and impossible-to-see concurrency defects in multithreaded programs. In trying to execute all potential paths through your program, JPF uses two important optimizations:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial