8242787: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with sun.jvm.hotspot.types.WrongTypeException
Reviewed-by: amenkov, sspitsyn, iklam
This commit is contained in:
parent
1b45bf2d58
commit
a4d318c92c
@ -244,13 +244,7 @@ public class ObjectHeap {
|
|||||||
while (handle.lessThan(top)) {
|
while (handle.lessThan(top)) {
|
||||||
Oop obj = null;
|
Oop obj = null;
|
||||||
|
|
||||||
try {
|
obj = newOop(handle);
|
||||||
obj = newOop(handle);
|
|
||||||
} catch (UnknownOopException exp) {
|
|
||||||
if (DEBUG) {
|
|
||||||
throw new RuntimeException(" UnknownOopException " + exp);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (obj == null) {
|
if (obj == null) {
|
||||||
throw new UnknownOopException();
|
throw new UnknownOopException();
|
||||||
}
|
}
|
||||||
@ -263,11 +257,7 @@ public class ObjectHeap {
|
|||||||
|
|
||||||
handle = handle.addOffsetToAsOopHandle(obj.getObjectSize());
|
handle = handle.addOffsetToAsOopHandle(obj.getObjectSize());
|
||||||
}
|
}
|
||||||
}
|
} catch (AddressException | UnknownOopException | WrongTypeException e) {
|
||||||
catch (AddressException e) {
|
|
||||||
// This is okay at the top of these regions
|
|
||||||
}
|
|
||||||
catch (UnknownOopException e) {
|
|
||||||
// This is okay at the top of these regions
|
// This is okay at the top of these regions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -940,7 +940,7 @@ java/util/ServiceLoader/ReloadTest.java 8242935 generic-all
|
|||||||
# svc_tools
|
# svc_tools
|
||||||
|
|
||||||
sun/tools/jhsdb/BasicLauncherTest.java 8211767 linux-ppc64,linux-ppc64le
|
sun/tools/jhsdb/BasicLauncherTest.java 8211767 linux-ppc64,linux-ppc64le
|
||||||
sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java 8231634,8242787 generic-all
|
sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java 8231634,8242789 generic-all
|
||||||
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user