Mercurial > hg > truffle
diff src/share/vm/memory/metachunk.hpp @ 14521:29ccc4cbabca
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 12 Mar 2014 13:30:08 +0100 |
parents | ce86c36b8921 |
children | 4ca6dc0799b6 |
line wrap: on
line diff
--- a/src/share/vm/memory/metachunk.hpp Tue Mar 11 15:34:06 2014 +0100 +++ b/src/share/vm/memory/metachunk.hpp Wed Mar 12 13:30:08 2014 +0100 @@ -143,6 +143,8 @@ void set_is_tagged_free(bool v) { _is_tagged_free = v; } #endif + bool contains(const void* ptr) { return bottom() <= ptr && ptr < _top; } + NOT_PRODUCT(void mangle();) void print_on(outputStream* st) const;