src/share/vm/memory/freeList.hpp

changeset 5166
7c5a1b62f53d
parent 4196
685df3c6f84b
child 6198
55fb97c4c58d
equal deleted inserted replaced
5165:6702da6b6082 5166:7c5a1b62f53d
78 78
79 public: 79 public:
80 // Constructor 80 // Constructor
81 // Construct a list without any entries. 81 // Construct a list without any entries.
82 FreeList(); 82 FreeList();
83 // Construct a list with "fc" as the first (and lone) entry in the list.
84 FreeList(Chunk_t* fc);
85 83
86 // Do initialization 84 // Do initialization
87 void initialize(); 85 void initialize();
88 86
89 // Reset the head, tail, and count of a free list. 87 // Reset the head, tail, and count of a free list.
175 173
176 // Verify that the chunk is in the list. 174 // Verify that the chunk is in the list.
177 // found. Return NULL if "fc" is not found. 175 // found. Return NULL if "fc" is not found.
178 bool verify_chunk_in_free_list(Chunk_t* fc) const; 176 bool verify_chunk_in_free_list(Chunk_t* fc) const;
179 177
180 // Stats verification
181 // void verify_stats() const { ShouldNotReachHere(); };
182
183 // Printing support 178 // Printing support
184 static void print_labels_on(outputStream* st, const char* c); 179 static void print_labels_on(outputStream* st, const char* c);
185 void print_on(outputStream* st, const char* c = NULL) const; 180 void print_on(outputStream* st, const char* c = NULL) const;
186 }; 181 };
187 182

mercurial