hotspot/src/share/vm/memory/metadataFactory.hpp
changeset 46522 86b13b03a053
parent 46448 b5350a83520b
child 46746 ea379ebb9447
equal deleted inserted replaced
46521:17e8acfe1db8 46522:86b13b03a053
    78 
    78 
    79   // Deallocation method for metadata
    79   // Deallocation method for metadata
    80   template <class T>
    80   template <class T>
    81   static void free_metadata(ClassLoaderData* loader_data, T md) {
    81   static void free_metadata(ClassLoaderData* loader_data, T md) {
    82     if (DumpSharedSpaces) {
    82     if (DumpSharedSpaces) {
    83       // FIXME: the freeing code is buggy, especially when PrintSharedSpaces is enabled.
    83       // FIXME: the freeing code is buggy, especially when -Xlog:cds is enabled.
    84       // Disable for now -- this means if you specify bad classes in your classlist you
    84       // Disable for now -- this means if you specify bad classes in your classlist you
    85       // may have wasted space inside the archive.
    85       // may have wasted space inside the archive.
    86       return;
    86       return;
    87     }
    87     }
    88     if (md != NULL) {
    88     if (md != NULL) {