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

When calculating live object regions, make sure that the alignment reserve, at the end of a TLAB, is excluded.

Reviewed-by: jmasa, brutisso
This commit is contained in:
Stefan Karlsson 2013-01-29 10:51:33 +01:00
parent 6f5991fa38
commit e8860a177b
4 changed files with 28 additions and 4 deletions

View file

@ -1161,6 +1161,7 @@ typedef BinaryTreeDictionary<Metablock, FreeList> MetablockTreeDictionary;
static_field(Abstract_VM_Version, _vm_major_version, int) \
static_field(Abstract_VM_Version, _vm_minor_version, int) \
static_field(Abstract_VM_Version, _vm_build_number, int) \
static_field(Abstract_VM_Version, _reserve_for_allocation_prefetch, int) \
\
static_field(JDK_Version, _current, JDK_Version) \
nonstatic_field(JDK_Version, _partially_initialized, bool) \