< prev index next >

src/share/vm/gc/shared/space.hpp

Print this page

        

*** 152,162 **** // Returns true iff the given block is not allocated. virtual bool is_free_block(const HeapWord* p) const = 0; // Test whether p is double-aligned static bool is_aligned(void* p) { ! return is_ptr_aligned(p, sizeof(double)); } // Size computations. Sizes are in bytes. size_t capacity() const { return byte_size(bottom(), end()); } virtual size_t used() const = 0; --- 152,162 ---- // Returns true iff the given block is not allocated. virtual bool is_free_block(const HeapWord* p) const = 0; // Test whether p is double-aligned static bool is_aligned(void* p) { ! return ::is_aligned(p, sizeof(double)); } // Size computations. Sizes are in bytes. size_t capacity() const { return byte_size(bottom(), end()); } virtual size_t used() const = 0;
< prev index next >