Review request: 8004710: NPG: jmap could throw sun.jvm.hotspot.types.WrongTypeException after PermGen removal

Stefan Karlsson stefan.karlsson at oracle.com
Tue Jan 29 02:58:00 PST 2013


http://cr.openjdk.java.net/~stefank/8004710/webrev/

This bug is in the GC specific code in the SA agent.

 From the bug report:
There's a bug in ObjectHeap.collectLiveRegions(), which tries to collect 
the regions of the heap that contain live objects. It removes the [top, 
end) regions of a TLAB, since we don't have live objects in those 
regions. Unfortunately, this doesn't consider the small 
alignment_reserve() part at the end of the TLAB, and we try to decode an 
object in that unused memory region.

It's not related to the PermGen removal, but the failure mode was 
probably changed.

thanks,
StefanK



More information about the hotspot-dev mailing list