equal
deleted
inserted
replaced
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) { |