hotspot/src/share/vm/memory/metaspace.hpp
changeset 24457 0e20b36df5c4
parent 23854 50f7f89b34e0
child 25051 8110ec6e7340
child 24847 37c354b113fe
equal deleted inserted replaced
24456:8c7933fa5a1f 24457:0e20b36df5c4
     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();