530 //
531 public:
532 AdaptiveSizePolicy* size_policy() shenandoah_not_implemented_return(NULL);
533 bool is_maximal_no_gc() const shenandoah_not_implemented_return(false);
534
535 bool is_in(const void* p) const;
536
537 MemRegion reserved_region() const { return _reserved; }
538 bool is_in_reserved(const void* addr) const { return _reserved.contains(addr); }
539
540 void collect(GCCause::Cause cause);
541 void do_full_collection(bool clear_all_soft_refs);
542
543 // Used for parsing heap during error printing
544 HeapWord* block_start(const void* addr) const;
545 bool block_is_obj(const HeapWord* addr) const;
546 bool print_location(outputStream* st, void* addr) const;
547
548 // Used for native heap walkers: heap dumpers, mostly
549 void object_iterate(ObjectClosure* cl);
550 void safe_object_iterate(ObjectClosure* cl);
551
552 // Used by RMI
553 jlong millis_since_last_gc();
554
555 // ---------- Safepoint interface hooks
556 //
557 public:
558 void safepoint_synchronize_begin();
559 void safepoint_synchronize_end();
560
561 // ---------- Code roots handling hooks
562 //
563 public:
564 void register_nmethod(nmethod* nm);
565 void unregister_nmethod(nmethod* nm);
566 void flush_nmethod(nmethod* nm) {}
567 void verify_nmethod(nmethod* nm) {}
568
569 // ---------- Pinning hooks
570 //
|
530 //
531 public:
532 AdaptiveSizePolicy* size_policy() shenandoah_not_implemented_return(NULL);
533 bool is_maximal_no_gc() const shenandoah_not_implemented_return(false);
534
535 bool is_in(const void* p) const;
536
537 MemRegion reserved_region() const { return _reserved; }
538 bool is_in_reserved(const void* addr) const { return _reserved.contains(addr); }
539
540 void collect(GCCause::Cause cause);
541 void do_full_collection(bool clear_all_soft_refs);
542
543 // Used for parsing heap during error printing
544 HeapWord* block_start(const void* addr) const;
545 bool block_is_obj(const HeapWord* addr) const;
546 bool print_location(outputStream* st, void* addr) const;
547
548 // Used for native heap walkers: heap dumpers, mostly
549 void object_iterate(ObjectClosure* cl);
550
551 // Used by RMI
552 jlong millis_since_last_gc();
553
554 // ---------- Safepoint interface hooks
555 //
556 public:
557 void safepoint_synchronize_begin();
558 void safepoint_synchronize_end();
559
560 // ---------- Code roots handling hooks
561 //
562 public:
563 void register_nmethod(nmethod* nm);
564 void unregister_nmethod(nmethod* nm);
565 void flush_nmethod(nmethod* nm) {}
566 void verify_nmethod(nmethod* nm) {}
567
568 // ---------- Pinning hooks
569 //
|