Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/vmStructs.cpp @ 22839:490b4cb2c0b5
8033440: jmap reports unexpected used/free size of concurrent mark-sweep generation
Summary: SA used the wrong type for the indexedFreeList in CompactibleFreeListSpace.
Reviewed-by: coleenp, dsamersoff
author | sjohanss |
---|---|
date | Mon, 17 Feb 2014 09:51:37 +0100 |
parents | c2844108a708 |
children | f9d003ea9023 |
comparison
equal
deleted
inserted
replaced
22838:7e2e246df4e9 | 22839:490b4cb2c0b5 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
246 typedef Hashtable<oop, mtSymbol> StringHashtable; | 246 typedef Hashtable<oop, mtSymbol> StringHashtable; |
247 typedef TwoOopHashtable<Klass*, mtClass> KlassTwoOopHashtable; | 247 typedef TwoOopHashtable<Klass*, mtClass> KlassTwoOopHashtable; |
248 typedef Hashtable<Klass*, mtClass> KlassHashtable; | 248 typedef Hashtable<Klass*, mtClass> KlassHashtable; |
249 typedef HashtableEntry<Klass*, mtClass> KlassHashtableEntry; | 249 typedef HashtableEntry<Klass*, mtClass> KlassHashtableEntry; |
250 typedef TwoOopHashtable<Symbol*, mtClass> SymbolTwoOopHashtable; | 250 typedef TwoOopHashtable<Symbol*, mtClass> SymbolTwoOopHashtable; |
251 typedef BinaryTreeDictionary<Metablock, FreeList<Metablock> > MetablockTreeDictionary; | |
252 | 251 |
253 //-------------------------------------------------------------------------------- | 252 //-------------------------------------------------------------------------------- |
254 // VM_STRUCTS | 253 // VM_STRUCTS |
255 // | 254 // |
256 // This list enumerates all of the fields the serviceability agent | 255 // This list enumerates all of the fields the serviceability agent |
1288 nonstatic_field(elapsedTimer, _active, bool) \ | 1287 nonstatic_field(elapsedTimer, _active, bool) \ |
1289 nonstatic_field(InvocationCounter, _counter, unsigned int) \ | 1288 nonstatic_field(InvocationCounter, _counter, unsigned int) \ |
1290 volatile_nonstatic_field(FreeChunk, _size, size_t) \ | 1289 volatile_nonstatic_field(FreeChunk, _size, size_t) \ |
1291 nonstatic_field(FreeChunk, _next, FreeChunk*) \ | 1290 nonstatic_field(FreeChunk, _next, FreeChunk*) \ |
1292 nonstatic_field(FreeChunk, _prev, FreeChunk*) \ | 1291 nonstatic_field(FreeChunk, _prev, FreeChunk*) \ |
1293 nonstatic_field(FreeList<FreeChunk>, _size, size_t) \ | 1292 nonstatic_field(AdaptiveFreeList<FreeChunk>, _size, size_t) \ |
1294 nonstatic_field(FreeList<Metablock>, _size, size_t) \ | 1293 nonstatic_field(AdaptiveFreeList<FreeChunk>, _count, ssize_t) |
1295 nonstatic_field(FreeList<FreeChunk>, _count, ssize_t) \ | |
1296 nonstatic_field(FreeList<Metablock>, _count, ssize_t) \ | |
1297 nonstatic_field(MetablockTreeDictionary, _total_size, size_t) | |
1298 | 1294 |
1299 | 1295 |
1300 //-------------------------------------------------------------------------------- | 1296 //-------------------------------------------------------------------------------- |
1301 // VM_TYPES | 1297 // VM_TYPES |
1302 // | 1298 // |
2164 \ | 2160 \ |
2165 declare_toplevel_type(PtrQueue) \ | 2161 declare_toplevel_type(PtrQueue) \ |
2166 \ | 2162 \ |
2167 /* freelist */ \ | 2163 /* freelist */ \ |
2168 declare_toplevel_type(FreeChunk*) \ | 2164 declare_toplevel_type(FreeChunk*) \ |
2169 declare_toplevel_type(Metablock*) \ | 2165 declare_toplevel_type(AdaptiveFreeList<FreeChunk>*) \ |
2170 declare_toplevel_type(FreeBlockDictionary<FreeChunk>*) \ | 2166 declare_toplevel_type(AdaptiveFreeList<FreeChunk>) |
2171 declare_toplevel_type(FreeList<FreeChunk>*) \ | |
2172 declare_toplevel_type(FreeList<FreeChunk>) \ | |
2173 declare_toplevel_type(FreeBlockDictionary<Metablock>*) \ | |
2174 declare_toplevel_type(FreeList<Metablock>*) \ | |
2175 declare_toplevel_type(FreeList<Metablock>) \ | |
2176 declare_type(MetablockTreeDictionary, FreeBlockDictionary<Metablock>) | |
2177 | 2167 |
2178 | 2168 |
2179 //-------------------------------------------------------------------------------- | 2169 //-------------------------------------------------------------------------------- |
2180 // VM_INT_CONSTANTS | 2170 // VM_INT_CONSTANTS |
2181 // | 2171 // |