From: <pcm...@us...> - 2008-03-18 05:39:10
|
Revision: 782 http://javapathfinder.svn.sourceforge.net/javapathfinder/?rev=782&view=rev Author: pcmehlitz Date: 2008-03-17 22:39:08 -0700 (Mon, 17 Mar 2008) Log Message: ----------- * little POR optimization that can have a significant impact: "synchronized (myfield){..}" is usually compiled into some "getfield; dup; [astore;] monitorenter" pattern. If we see this pattern (fairly inexpensive test), we skip the transition break for the getfield and rely on the subsequent monitorenter. Could be more sophisticated ("Object o = myfield; synchronized(o){..} Modified Paths: -------------- trunk/doc/On-the-fly_Partial_Order_Reduction.html trunk/doc/Running_JPF.html trunk/src/gov/nasa/jpf/jvm/SingleFieldLockInfo.java trunk/src/gov/nasa/jpf/jvm/StatisticFieldLockInfo.java trunk/src/gov/nasa/jpf/jvm/bytecode/FieldInstruction.java trunk/src/gov/nasa/jpf/jvm/bytecode/InstanceFieldInstruction.java trunk/src/gov/nasa/jpf/jvm/bytecode/MONITORENTER.java trunk/src/gov/nasa/jpf/jvm/bytecode/NEW.java trunk/src/gov/nasa/jpf/jvm/bytecode/StaticFieldInstruction.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |