< prev index next >
src/hotspot/share/gc/shared/gcVMOperations.hpp
Print this page
rev 57511 : [mq]: metaspace-improvement
*** 26,35 ****
--- 26,36 ----
#define SHARE_GC_SHARED_GCVMOPERATIONS_HPP
#include "gc/shared/collectedHeap.hpp"
#include "gc/shared/genCollectedHeap.hpp"
#include "memory/heapInspection.hpp"
+ #include "memory/metaspace/metaspaceEnums.hpp"
#include "prims/jvmtiExport.hpp"
#include "runtime/handles.hpp"
#include "runtime/jniHandles.hpp"
#include "runtime/synchronizer.hpp"
#include "runtime/vmOperations.hpp"
*** 203,219 ****
class VM_CollectForMetadataAllocation: public VM_GC_Operation {
private:
MetaWord* _result;
size_t _size; // size of object to be allocated
! Metaspace::MetadataType _mdtype;
ClassLoaderData* _loader_data;
public:
VM_CollectForMetadataAllocation(ClassLoaderData* loader_data,
size_t size,
! Metaspace::MetadataType mdtype,
uint gc_count_before,
uint full_gc_count_before,
GCCause::Cause gc_cause);
virtual VMOp_Type type() const { return VMOp_CollectForMetadataAllocation; }
--- 204,220 ----
class VM_CollectForMetadataAllocation: public VM_GC_Operation {
private:
MetaWord* _result;
size_t _size; // size of object to be allocated
! metaspace::MetadataType _mdtype;
ClassLoaderData* _loader_data;
public:
VM_CollectForMetadataAllocation(ClassLoaderData* loader_data,
size_t size,
! metaspace::MetadataType mdtype,
uint gc_count_before,
uint full_gc_count_before,
GCCause::Cause gc_cause);
virtual VMOp_Type type() const { return VMOp_CollectForMetadataAllocation; }
< prev index next >