1.1 --- a/src/share/vm/memory/blockOffsetTable.cpp Wed Jun 27 15:23:36 2012 +0200 1.2 +++ b/src/share/vm/memory/blockOffsetTable.cpp Thu Jun 28 17:03:16 2012 -0400 1.3 @@ -30,6 +30,7 @@ 1.4 #include "memory/universe.hpp" 1.5 #include "oops/oop.inline.hpp" 1.6 #include "runtime/java.hpp" 1.7 +#include "services/memTracker.hpp" 1.8 1.9 ////////////////////////////////////////////////////////////////////// 1.10 // BlockOffsetSharedArray 1.11 @@ -44,6 +45,9 @@ 1.12 if (!rs.is_reserved()) { 1.13 vm_exit_during_initialization("Could not reserve enough space for heap offset array"); 1.14 } 1.15 + 1.16 + MemTracker::record_virtual_memory_type((address)rs.base(), mtGC); 1.17 + 1.18 if (!_vs.initialize(rs, 0)) { 1.19 vm_exit_during_initialization("Could not reserve enough space for heap offset array"); 1.20 }