< prev index next >

src/hotspot/share/gc/z/zCollectedHeap.hpp

Print this page




  55 
  56 public:
  57   static ZCollectedHeap* heap();
  58 
  59   ZCollectedHeap(ZCollectorPolicy* policy);
  60   virtual Name kind() const;
  61   virtual const char* name() const;
  62   virtual jint initialize();
  63   virtual void initialize_serviceability();
  64   virtual void stop();
  65 
  66   virtual CollectorPolicy* collector_policy() const;
  67   virtual SoftRefPolicy* soft_ref_policy();
  68 
  69   virtual size_t max_capacity() const;
  70   virtual size_t capacity() const;
  71   virtual size_t used() const;
  72 
  73   virtual bool is_maximal_no_gc() const;
  74   virtual bool is_in(const void* p) const;
  75   virtual bool is_in_closed_subset(const void* p) const;
  76 
  77   virtual HeapWord* mem_allocate(size_t size, bool* gc_overhead_limit_was_exceeded);
  78   virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
  79                                                        size_t size,
  80                                                        Metaspace::MetadataType mdtype);
  81   virtual void collect(GCCause::Cause cause);
  82   virtual void collect_as_vm_thread(GCCause::Cause cause);
  83   virtual void do_full_collection(bool clear_all_soft_refs);
  84 
  85   virtual bool supports_tlab_allocation() const;
  86   virtual size_t tlab_capacity(Thread* thr) const;
  87   virtual size_t tlab_used(Thread* thr) const;
  88   virtual size_t max_tlab_size() const;
  89   virtual size_t unsafe_max_tlab_alloc(Thread* thr) const;
  90 
  91   virtual bool can_elide_tlab_store_barriers() const;
  92   virtual bool can_elide_initializing_store_barrier(oop new_obj);
  93   virtual bool card_mark_must_follow_store() const;
  94 
  95   virtual GrowableArray<GCMemoryManager*> memory_managers();




  55 
  56 public:
  57   static ZCollectedHeap* heap();
  58 
  59   ZCollectedHeap(ZCollectorPolicy* policy);
  60   virtual Name kind() const;
  61   virtual const char* name() const;
  62   virtual jint initialize();
  63   virtual void initialize_serviceability();
  64   virtual void stop();
  65 
  66   virtual CollectorPolicy* collector_policy() const;
  67   virtual SoftRefPolicy* soft_ref_policy();
  68 
  69   virtual size_t max_capacity() const;
  70   virtual size_t capacity() const;
  71   virtual size_t used() const;
  72 
  73   virtual bool is_maximal_no_gc() const;
  74   virtual bool is_in(const void* p) const;

  75 
  76   virtual HeapWord* mem_allocate(size_t size, bool* gc_overhead_limit_was_exceeded);
  77   virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
  78                                                        size_t size,
  79                                                        Metaspace::MetadataType mdtype);
  80   virtual void collect(GCCause::Cause cause);
  81   virtual void collect_as_vm_thread(GCCause::Cause cause);
  82   virtual void do_full_collection(bool clear_all_soft_refs);
  83 
  84   virtual bool supports_tlab_allocation() const;
  85   virtual size_t tlab_capacity(Thread* thr) const;
  86   virtual size_t tlab_used(Thread* thr) const;
  87   virtual size_t max_tlab_size() const;
  88   virtual size_t unsafe_max_tlab_alloc(Thread* thr) const;
  89 
  90   virtual bool can_elide_tlab_store_barriers() const;
  91   virtual bool can_elide_initializing_store_barrier(oop new_obj);
  92   virtual bool card_mark_must_follow_store() const;
  93 
  94   virtual GrowableArray<GCMemoryManager*> memory_managers();


< prev index next >