예제 #1
0
 /**
  * Load an object reference
  *
  * @param slot The location of the reference
  * @return the object reference loaded from slot
  */
 @Inline
 public ObjectReference loadObjectReference(Address slot) {
   return slot.loadObjectReference();
 }
예제 #2
0
 /**
  * Store an object reference
  *
  * @param slot The location of the reference
  * @param value The value to store
  */
 @Inline
 public void storeObjectReference(Address slot, ObjectReference value) {
   slot.store(value);
 }