Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8239916: SA: delete dead code in jdk.hotspot.agent/share/classes/sun/…
…jvm/hotspot/oops/ObjectHeap.java

Reviewed-by: stefank
  • Loading branch information
Lin Zang committed Feb 29, 2020
1 parent 5bfb814 commit 0a820d6d21c963f244e5e27ea657092e463f09a6
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java
@@ -233,13 +233,6 @@ private void iterateLiveRegions(List liveRegions, HeapVisitor visitor, ObjectFil
}
visitor.prologue(totalSize);

CollectedHeap heap = VM.getVM().getUniverse().heap();

if (heap instanceof GenCollectedHeap) {
GenCollectedHeap genHeap = (GenCollectedHeap) heap;
Generation genOld = genHeap.getGen(1);
}

for (int i = 0; i < liveRegions.size(); i += 2) {
Address bottom = (Address) liveRegions.get(i);
Address top = (Address) liveRegions.get(i+1);

0 comments on commit 0a820d6

Please sign in to comment.