harpoon.Runtime
Class DynamicSyncImpl

java.lang.Object
  extended by harpoon.Runtime.DynamicSyncImpl

public abstract class DynamicSyncImpl
extends Object

DynamicSyncImpl is a helper class to implement dynamic synchronization removal. It just contains a stub method which will be invoked at runtime to determine whether synchronization on a specific object will be skipped or not.

Version:
$Id: DynamicSyncImpl.java,v 1.2 2003/07/10 02:49:03 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Constructor Summary
DynamicSyncImpl()
           
 
Method Summary
static boolean isNoSync(Object o)
          Returns true iff synchronization on the given object must be performed, or false if it can be skipped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSyncImpl

public DynamicSyncImpl()
Method Detail

isNoSync

public static boolean isNoSync(Object o)
Returns true iff synchronization on the given object must be performed, or false if it can be skipped.