public static ByteBuffer newDirectByteBuffer(Address address, long capacity) {
   Pointer pointer = gnu.classpath.JikesRVMSupport.getPointerFromAddress(address);
   return new DirectByteBufferImpl.ReadWrite(null, pointer, (int) capacity, (int) capacity, 0);
 }
 public static Address getDirectBufferAddress(Buffer buffer) {
   if (buffer.address == null) return Address.zero();
   else return gnu.classpath.JikesRVMSupport.getAddressFromPointer(buffer.address);
 }