Mercurial > hg > graal-compiler
comparison src/share/vm/memory/heap.hpp @ 14309:63a4eb8bcd23
8025856: Fix typos in the GC code
Summary: Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author | jwilhelm |
---|---|
date | Thu, 23 Jan 2014 14:47:23 +0100 |
parents | de6a9e811145 |
children | 480b0109db65 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14308:870aedf4ba4f | 14309:63a4eb8bcd23 |
---|---|
125 CodeHeap(); | 125 CodeHeap(); |
126 | 126 |
127 // Heap extents | 127 // Heap extents |
128 bool reserve(size_t reserved_size, size_t committed_size, size_t segment_size); | 128 bool reserve(size_t reserved_size, size_t committed_size, size_t segment_size); |
129 void release(); // releases all allocated memory | 129 void release(); // releases all allocated memory |
130 bool expand_by(size_t size); // expands commited memory by size | 130 bool expand_by(size_t size); // expands committed memory by size |
131 void shrink_by(size_t size); // shrinks commited memory by size | 131 void shrink_by(size_t size); // shrinks committed memory by size |
132 void clear(); // clears all heap contents | 132 void clear(); // clears all heap contents |
133 | 133 |
134 // Memory allocation | 134 // Memory allocation |
135 void* allocate (size_t size, bool is_critical); // allocates a block of size or returns NULL | 135 void* allocate (size_t size, bool is_critical); // allocates a block of size or returns NULL |
136 void deallocate(void* p); // deallocates a block | 136 void deallocate(void* p); // deallocates a block |