comparison src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp @ 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 454d7cc622ab
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
22838:7e2e246df4e9 22839:490b4cb2c0b5
1 /* 1 /*
2 * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2007, 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.
39 nonstatic_field(ConcurrentMarkSweepGeneration, _cmsSpace, CompactibleFreeListSpace*) \ 39 nonstatic_field(ConcurrentMarkSweepGeneration, _cmsSpace, CompactibleFreeListSpace*) \
40 static_field(ConcurrentMarkSweepThread, _collector, CMSCollector*) \ 40 static_field(ConcurrentMarkSweepThread, _collector, CMSCollector*) \
41 nonstatic_field(LinearAllocBlock, _word_size, size_t) \ 41 nonstatic_field(LinearAllocBlock, _word_size, size_t) \
42 nonstatic_field(AFLBinaryTreeDictionary, _total_size, size_t) \ 42 nonstatic_field(AFLBinaryTreeDictionary, _total_size, size_t) \
43 nonstatic_field(CompactibleFreeListSpace, _dictionary, AFLBinaryTreeDictionary*) \ 43 nonstatic_field(CompactibleFreeListSpace, _dictionary, AFLBinaryTreeDictionary*) \
44 nonstatic_field(CompactibleFreeListSpace, _indexedFreeList[0], FreeList<FreeChunk>) \ 44 nonstatic_field(CompactibleFreeListSpace, _indexedFreeList[0], AdaptiveFreeList<FreeChunk>) \
45 nonstatic_field(CompactibleFreeListSpace, _smallLinearAllocBlock, LinearAllocBlock) 45 nonstatic_field(CompactibleFreeListSpace, _smallLinearAllocBlock, LinearAllocBlock)
46 46
47 47
48 #define VM_TYPES_CMS(declare_type, \ 48 #define VM_TYPES_CMS(declare_type, \
49 declare_toplevel_type) \ 49 declare_toplevel_type) \