8239916: SA: delete dead code in jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java
Reviewed-by: stefank
This commit is contained in:
parent
5bfb8146e9
commit
0a820d6d21
@ -233,13 +233,6 @@ public class ObjectHeap {
|
||||
}
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user