equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2010, 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. |
138 size_t alignment_offset() const; // offset of first byte of any block, within the enclosing alignment unit |
138 size_t alignment_offset() const; // offset of first byte of any block, within the enclosing alignment unit |
139 static size_t header_size(); // returns the header size for each heap block |
139 static size_t header_size(); // returns the header size for each heap block |
140 |
140 |
141 // Returns reserved area high and low addresses |
141 // Returns reserved area high and low addresses |
142 char *low_boundary() const { return _memory.low_boundary (); } |
142 char *low_boundary() const { return _memory.low_boundary (); } |
|
143 char *high() const { return _memory.high(); } |
143 char *high_boundary() const { return _memory.high_boundary(); } |
144 char *high_boundary() const { return _memory.high_boundary(); } |
144 |
145 |
145 // Iteration |
146 // Iteration |
146 |
147 |
147 // returns the first block or NULL |
148 // returns the first block or NULL |