View Javadoc

1   /*
2    * Created on Feb 23, 2004
3    */
4   package joeq.ClassLib.sun15_linux.java.util.concurrent.atomic;
5   
6   import joeq.Class.PrimordialClassLoader;
7   import joeq.Class.jq_Class;
8   import joeq.Class.jq_InstanceField;
9   
10  /***
11   * @author jwhaley
12   */
13  public class AtomicLong {
14      private static final long valueOffset;
15      
16      static {
17          jq_Class c = (jq_Class) PrimordialClassLoader.loader.getOrCreateBSType("Ljava/util/concurrent/atomic/AtomicLong;");
18          c.prepare();
19          valueOffset = ((jq_InstanceField) c.getDeclaredMember("value", "J")).getOffset();
20      }
21  }