189 }; |
189 }; |
190 |
190 |
191 class VM_CollectForMetadataAllocation: public VM_GC_Operation { |
191 class VM_CollectForMetadataAllocation: public VM_GC_Operation { |
192 private: |
192 private: |
193 MetaWord* _result; |
193 MetaWord* _result; |
194 size_t _size; // size of object to be allocated |
194 size_t _size; // size of object to be allocated |
195 Metaspace::MetadataType _mdtype; |
195 Metaspace::MetadataType _mdtype; |
196 ClassLoaderData* _loader_data; |
196 ClassLoaderData* _loader_data; |
197 public: |
197 public: |
198 VM_CollectForMetadataAllocation(ClassLoaderData* loader_data, |
198 VM_CollectForMetadataAllocation(ClassLoaderData* loader_data, |
199 size_t size, Metaspace::MetadataType mdtype, |
199 size_t size, Metaspace::MetadataType mdtype, |