< prev index next >

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

Print this page

 55 
 56 public:
 57   static ZCollectedHeap* heap();
 58 
 59   ZCollectedHeap();
 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 SoftRefPolicy* soft_ref_policy();
 67 
 68   virtual size_t max_capacity() const;
 69   virtual size_t capacity() const;
 70   virtual size_t used() const;
 71   virtual size_t unused() const;
 72 
 73   virtual bool is_maximal_no_gc() const;
 74   virtual bool is_in(const void* p) const;




 75 
 76   virtual uint32_t hash_oop(oop obj) const;
 77 
 78   virtual oop array_allocate(Klass* klass, int size, int length, bool do_zero, TRAPS);
 79   virtual HeapWord* mem_allocate(size_t size, bool* gc_overhead_limit_was_exceeded);
 80   virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
 81                                                        size_t size,
 82                                                        Metaspace::MetadataType mdtype);
 83   virtual void collect(GCCause::Cause cause);
 84   virtual void collect_as_vm_thread(GCCause::Cause cause);
 85   virtual void do_full_collection(bool clear_all_soft_refs);
 86 
 87   virtual size_t tlab_capacity(Thread* thr) const;
 88   virtual size_t tlab_used(Thread* thr) const;
 89   virtual size_t max_tlab_size() const;
 90   virtual size_t unsafe_max_tlab_alloc(Thread* thr) const;
 91 
 92   virtual bool uses_stack_watermark_barrier() const;
 93 
 94   virtual GrowableArray<GCMemoryManager*> memory_managers();

 55 
 56 public:
 57   static ZCollectedHeap* heap();
 58 
 59   ZCollectedHeap();
 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 SoftRefPolicy* soft_ref_policy();
 67 
 68   virtual size_t max_capacity() const;
 69   virtual size_t capacity() const;
 70   virtual size_t used() const;
 71   virtual size_t unused() const;
 72 
 73   virtual bool is_maximal_no_gc() const;
 74   virtual bool is_in(const void* p) const;
 75   virtual inline bool requires_barriers(oop obj) const;
 76 
 77   // Continuation support
 78   virtual void collect_for_codecache();
 79 
 80   virtual uint32_t hash_oop(oop obj) const;
 81 
 82   virtual oop array_allocate(Klass* klass, int size, int length, bool do_zero, TRAPS);
 83   virtual HeapWord* mem_allocate(size_t size, bool* gc_overhead_limit_was_exceeded);
 84   virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
 85                                                        size_t size,
 86                                                        Metaspace::MetadataType mdtype);
 87   virtual void collect(GCCause::Cause cause);
 88   virtual void collect_as_vm_thread(GCCause::Cause cause);
 89   virtual void do_full_collection(bool clear_all_soft_refs);
 90 
 91   virtual size_t tlab_capacity(Thread* thr) const;
 92   virtual size_t tlab_used(Thread* thr) const;
 93   virtual size_t max_tlab_size() const;
 94   virtual size_t unsafe_max_tlab_alloc(Thread* thr) const;
 95 
 96   virtual bool uses_stack_watermark_barrier() const;
 97 
 98   virtual GrowableArray<GCMemoryManager*> memory_managers();
< prev index next >