src/hotspot/share/gc/shared/collectedHeap.hpp
branchstuefe-new-metaspace-branch
changeset 59272 54750b448264
parent 58494 54c1ba464b78
equal deleted inserted replaced
59271:1558266946de 59272:54750b448264
    27 
    27 
    28 #include "gc/shared/gcCause.hpp"
    28 #include "gc/shared/gcCause.hpp"
    29 #include "gc/shared/gcWhen.hpp"
    29 #include "gc/shared/gcWhen.hpp"
    30 #include "gc/shared/verifyOption.hpp"
    30 #include "gc/shared/verifyOption.hpp"
    31 #include "memory/allocation.hpp"
    31 #include "memory/allocation.hpp"
    32 #include "memory/metaspace/metaspaceEnums.hpp"
    32 #include "memory/metaspace.hpp"
    33 #include "runtime/handles.hpp"
    33 #include "runtime/handles.hpp"
    34 #include "runtime/perfData.hpp"
    34 #include "runtime/perfData.hpp"
    35 #include "runtime/safepoint.hpp"
    35 #include "runtime/safepoint.hpp"
    36 #include "services/memoryUsage.hpp"
    36 #include "services/memoryUsage.hpp"
    37 #include "utilities/debug.hpp"
    37 #include "utilities/debug.hpp"
   356   // the context of the vm thread.
   356   // the context of the vm thread.
   357   virtual void collect_as_vm_thread(GCCause::Cause cause);
   357   virtual void collect_as_vm_thread(GCCause::Cause cause);
   358 
   358 
   359   virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
   359   virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
   360                                                        size_t size,
   360                                                        size_t size,
   361                                                        metaspace::MetadataType mdtype);
   361                                                        Metaspace::MetadataType mdtype);
   362 
   362 
   363   // Returns "true" iff there is a stop-world GC in progress.  (I assume
   363   // Returns "true" iff there is a stop-world GC in progress.  (I assume
   364   // that it should answer "false" for the concurrent part of a concurrent
   364   // that it should answer "false" for the concurrent part of a concurrent
   365   // collector -- dld).
   365   // collector -- dld).
   366   bool is_gc_active() const { return _is_gc_active; }
   366   bool is_gc_active() const { return _is_gc_active; }