src/hotspot/share/gc/shared/collectedHeap.hpp
changeset 49754 ee93c1087584
parent 49669 3569b528972e
child 49851 9082914ccaf2
child 56448 76d86de267b9
equal deleted inserted replaced
49753:46f2dc7c4c39 49754:ee93c1087584
   103   GCHeapLog* _gc_heap_log;
   103   GCHeapLog* _gc_heap_log;
   104 
   104 
   105   MemRegion _reserved;
   105   MemRegion _reserved;
   106 
   106 
   107  protected:
   107  protected:
   108   BarrierSet* _barrier_set;
       
   109   bool _is_gc_active;
   108   bool _is_gc_active;
   110 
   109 
   111   // Used for filler objects (static, but initialized in ctor).
   110   // Used for filler objects (static, but initialized in ctor).
   112   static size_t _filler_array_max_size;
   111   static size_t _filler_array_max_size;
   113 
   112 
   415 
   414 
   416   virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
   415   virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
   417                                                        size_t size,
   416                                                        size_t size,
   418                                                        Metaspace::MetadataType mdtype);
   417                                                        Metaspace::MetadataType mdtype);
   419 
   418 
   420   // Returns the barrier set for this heap
       
   421   BarrierSet* barrier_set() { return _barrier_set; }
       
   422   void set_barrier_set(BarrierSet* barrier_set);
       
   423 
       
   424   // Returns "true" iff there is a stop-world GC in progress.  (I assume
   419   // Returns "true" iff there is a stop-world GC in progress.  (I assume
   425   // that it should answer "false" for the concurrent part of a concurrent
   420   // that it should answer "false" for the concurrent part of a concurrent
   426   // collector -- dld).
   421   // collector -- dld).
   427   bool is_gc_active() const { return _is_gc_active; }
   422   bool is_gc_active() const { return _is_gc_active; }
   428 
   423