comparison src/share/vm/memory/allocation.hpp @ 7971:4102b59539ce

8005012: Add WB APIs to better support NMT testing Summary: Add WB API functions to enable better NMT testing Reviewed-by: dholmes, zgu
author ctornqvi
date Fri, 01 Feb 2013 23:48:08 +0100
parents 32164d89fe9c
children 5fc51c1ecdeb 83f27710f5f7
comparison
equal deleted inserted replaced
7962:4c75576d18d0 7971:4102b59539ce
143 mtSymbol = 0x0900, // symbol 143 mtSymbol = 0x0900, // symbol
144 mtNMT = 0x0A00, // memory used by native memory tracking 144 mtNMT = 0x0A00, // memory used by native memory tracking
145 mtChunk = 0x0B00, // chunk that holds content of arenas 145 mtChunk = 0x0B00, // chunk that holds content of arenas
146 mtJavaHeap = 0x0C00, // Java heap 146 mtJavaHeap = 0x0C00, // Java heap
147 mtClassShared = 0x0D00, // class data sharing 147 mtClassShared = 0x0D00, // class data sharing
148 mt_number_of_types = 0x000D, // number of memory types (mtDontTrack 148 mtTest = 0x0E00, // Test type for verifying NMT
149 mt_number_of_types = 0x000E, // number of memory types (mtDontTrack
149 // is not included as validate type) 150 // is not included as validate type)
150 mtDontTrack = 0x0E00, // memory we do not or cannot track 151 mtDontTrack = 0x0F00, // memory we do not or cannot track
151 mt_masks = 0x7F00, 152 mt_masks = 0x7F00,
152 153
153 // object type mask 154 // object type mask
154 otArena = 0x0010, // an arena object 155 otArena = 0x0010, // an arena object
155 otNMTRecorder = 0x0020, // memory recorder object 156 otNMTRecorder = 0x0020, // memory recorder object