src/share/vm/memory/metaspace.hpp

changeset 7089
6e0cb14ce59b
parent 6722
e204777ac770
child 7254
b509b7ff561c
equal deleted inserted replaced
7088:999824269b71 7089:6e0cb14ce59b
169 } 169 }
170 170
171 static const MetaspaceTracer* tracer() { return _tracer; } 171 static const MetaspaceTracer* tracer() { return _tracer; }
172 172
173 private: 173 private:
174 // This is used by DumpSharedSpaces only, where only _vsm is used. So we will 174 // These 2 methods are used by DumpSharedSpaces only, where only _vsm is used. So we will
175 // maintain a single list for now. 175 // maintain a single list for now.
176 void record_allocation(void* ptr, MetaspaceObj::Type type, size_t word_size); 176 void record_allocation(void* ptr, MetaspaceObj::Type type, size_t word_size);
177 void record_deallocation(void* ptr, size_t word_size);
177 178
178 #ifdef _LP64 179 #ifdef _LP64
179 static void set_narrow_klass_base_and_shift(address metaspace_base, address cds_base); 180 static void set_narrow_klass_base_and_shift(address metaspace_base, address cds_base);
180 181
181 // Returns true if can use CDS with metaspace allocated as specified address. 182 // Returns true if can use CDS with metaspace allocated as specified address.

mercurial