--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/CollectedHeap.java Tue Jun 18 10:37:28 2019 -0400
+++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/CollectedHeap.java Tue Jun 18 13:11:09 2019 -0400
@@ -64,8 +64,6 @@
public abstract long capacity();
public abstract long used();
- public long oopOffset() { return 0; }
-
public MemRegion reservedRegion() {
return new MemRegion(addr.addOffsetTo(reservedFieldOffset));
}
--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java Tue Jun 18 10:37:28 2019 -0400
+++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java Tue Jun 18 13:11:09 2019 -0400
@@ -256,8 +256,6 @@
while (handle.lessThan(top)) {
Oop obj = null;
- // Raw pointer walk
- handle = handle.addOffsetToAsOopHandle(heap.oopOffset());
try {
obj = newOop(handle);