2 public int cachedCode; //first field has to be a primitive
3 public boolean cachedHash;
5 private Object nextlockobject;
6 private Object prevlockobject;
8 // temporary extra unused int filed to align objects for Java
11 public native int hashCode();
13 /* DON'T USE THIS METHOD UNLESS NECESSARY */
14 /* WE WILL DEPRECATE IT AS SOON AS INSTANCEOF WORKS */
15 public native int getType();
17 public native int MonitorEnter();
18 public native int MonitorExit();
20 public String toString() {
21 return "Object"+hashCode();
24 public boolean equals(Object o) {