equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2014, 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. |
230 void deallocate(MetaWord* ptr, size_t byte_size, bool is_class); |
230 void deallocate(MetaWord* ptr, size_t byte_size, bool is_class); |
231 |
231 |
232 MetaWord* expand_and_allocate(size_t size, |
232 MetaWord* expand_and_allocate(size_t size, |
233 MetadataType mdtype); |
233 MetadataType mdtype); |
234 |
234 |
235 bool contains(const void* ptr); |
235 static bool contains(const void* ptr); |
|
236 |
236 void dump(outputStream* const out) const; |
237 void dump(outputStream* const out) const; |
237 |
238 |
238 // Free empty virtualspaces |
239 // Free empty virtualspaces |
239 static void purge(MetadataType mdtype); |
240 static void purge(MetadataType mdtype); |
240 static void purge(); |
241 static void purge(); |