1 cananian 1.1 // DynamicSyncImpl.java, created Wed Jul  9 20:21:33 2003 by cananian
 2 cananian 1.1 // Copyright (C) 2003 C. Scott Ananian <cananian@alumni.princeton.edu>
 3 cananian 1.1 // Licensed under the terms of the GNU GPL; see COPYING for details.
 4 cananian 1.1 package harpoon.Runtime;
 5 cananian 1.1 
 6 cananian 1.1 /**
 7 cananian 1.1  * <code>DynamicSyncImpl</code> is a helper class to implement
 8 cananian 1.1  * dynamic synchronization removal.  It just contains a stub
 9 cananian 1.1  * method which will be invoked at runtime to determine whether
10 cananian 1.1  * synchronization on a specific object will be skipped or not.
11 cananian 1.1  * 
12 cananian 1.1  * @author  C. Scott Ananian <cananian@alumni.princeton.edu>
13 cananian 1.2  * @version $Id: DynamicSyncImpl.java,v 1.2 2003/07/10 02:49:03 cananian Exp $
14 cananian 1.1  */
15 cananian 1.1 public abstract class DynamicSyncImpl {
16 cananian 1.1     /** Returns true iff synchronization on the given object must
17 cananian 1.1      *  be performed, or false if it can be skipped. */
18 cananian 1.2     public static native boolean isNoSync(Object o);
19 cananian 1.1 }