Mercurial > hg > truffle
comparison src/share/vm/memory/metaspace.hpp @ 18009:f73af4455d7d
Merge
author | asaha |
---|---|
date | Thu, 29 May 2014 09:56:06 -0700 |
parents | 7384f6a12fc1 |
children | e204777ac770 |
comparison
equal
deleted
inserted
replaced
18008:da65bbf6f89e | 18009:f73af4455d7d |
---|---|
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(); |