Index: D:/harmony/Eclipse3.2/workspace/nio/src/main/java/com/ibm/platform/struct/RuntimeMemorySpy.java =================================================================== --- D:/harmony/Eclipse3.2/workspace/nio/src/main/java/com/ibm/platform/struct/RuntimeMemorySpy.java (revision 372201) +++ D:/harmony/Eclipse3.2/workspace/nio/src/main/java/com/ibm/platform/struct/RuntimeMemorySpy.java (working copy) @@ -15,6 +15,7 @@ package com.ibm.platform.struct; +import java.lang.ref.Reference; public final class RuntimeMemorySpy extends AbstractMemorySpy { @@ -25,7 +26,7 @@ public void alloc(PlatformAddress address, long size) { super.alloc(address, size); // Pay a tax on the allocation to see if there are any frees pending. - Object ref = notifyQueue.poll(); // non-blocking check + Reference ref = notifyQueue.poll(); // non-blocking check while (ref != null) { orphanedMemory(ref); ref = notifyQueue.poll();