Lines Matching refs:DefNewGeneration
60 // DefNewGeneration functions.
64 DefNewGeneration::IsAliveClosure::IsAliveClosure(Generation* g) : _g(g) {
67 void DefNewGeneration::IsAliveClosure::do_object(oop p) {
70 bool DefNewGeneration::IsAliveClosure::do_object_b(oop p) {
74 DefNewGeneration::KeepAliveClosure::
81 void DefNewGeneration::KeepAliveClosure::do_oop(oop* p) { DefNewGeneration::KeepAliveClosure::do_oop_work(p); }
82 void DefNewGeneration::KeepAliveClosure::do_oop(narrowOop* p) { DefNewGeneration::KeepAliveClosure::do_oop_work(p); }
85 DefNewGeneration::FastKeepAliveClosure::
86 FastKeepAliveClosure(DefNewGeneration* g, ScanWeakRefClosure* cl) :
87 DefNewGeneration::KeepAliveClosure(cl) {
91 void DefNewGeneration::FastKeepAliveClosure::do_oop(oop* p) { DefNewGeneration::FastKeepAliveClosure::do_oop_work(p); }
92 void DefNewGeneration::FastKeepAliveClosure::do_oop(narrowOop* p) { DefNewGeneration::FastKeepAliveClosure::do_oop_work(p); }
94 DefNewGeneration::EvacuateFollowersClosure::
101 void DefNewGeneration::EvacuateFollowersClosure::do_void() {
108 DefNewGeneration::FastEvacuateFollowersClosure::
110 DefNewGeneration* gen,
116 void DefNewGeneration::FastEvacuateFollowersClosure::do_void() {
124 ScanClosure::ScanClosure(DefNewGeneration* g, bool gc_barrier) :
134 FastScanClosure::FastScanClosure(DefNewGeneration* g, bool gc_barrier) :
144 ScanWeakRefClosure::ScanWeakRefClosure(DefNewGeneration* g) :
157 DefNewGeneration::DefNewGeneration(ReservedSpace rs,
210 void DefNewGeneration::compute_space_boundaries(uintx minimum_eden_size,
297 void DefNewGeneration::swap_spaces() {
314 bool DefNewGeneration::expand(size_t bytes) {
346 void DefNewGeneration::compute_new_size() {
358 "DefNewGeneration cannot be an oldest gen");
429 void DefNewGeneration::object_iterate_since_last_GC(ObjectClosure* cl) {
434 void DefNewGeneration::younger_refs_iterate(OopsInGenClosure* cl) {
439 size_t DefNewGeneration::capacity() const {
445 size_t DefNewGeneration::used() const {
451 size_t DefNewGeneration::free() const {
456 size_t DefNewGeneration::max_capacity() const {
462 size_t DefNewGeneration::unsafe_max_alloc_nogc() const {
466 size_t DefNewGeneration::capacity_before_gc() const {
470 size_t DefNewGeneration::contiguous_available() const {
475 HeapWord** DefNewGeneration::top_addr() const { return eden()->top_addr(); }
476 HeapWord** DefNewGeneration::end_addr() const { return eden()->end_addr(); }
478 void DefNewGeneration::object_iterate(ObjectClosure* blk) {
484 void DefNewGeneration::space_iterate(SpaceClosure* blk,
493 HeapWord* DefNewGeneration::allocate_from_space(size_t size) {
496 gclog_or_tty->print("DefNewGeneration::allocate_from_space(%u):"
525 HeapWord* DefNewGeneration::expand_and_allocate(size_t size,
533 void DefNewGeneration::collect(bool full,
697 void DefNewGeneration::init_assuming_no_promotion_failure() {
703 void DefNewGeneration::remove_forwarding_pointers() {
720 void DefNewGeneration::preserve_mark(oop obj, markOop m) {
727 void DefNewGeneration::preserve_mark_if_necessary(oop obj, markOop m) {
733 void DefNewGeneration::handle_promotion_failure(oop old) {
754 oop DefNewGeneration::copy_to_survivor_space(oop old) {
791 void DefNewGeneration::drain_promo_failure_scan_stack() {
798 void DefNewGeneration::save_marks() {
805 void DefNewGeneration::reset_saved_marks() {
812 bool DefNewGeneration::no_allocs_since_save_marks() {
820 void DefNewGeneration:: \
834 void DefNewGeneration::contribute_scratch(ScratchBlock*& list, Generation* requestor,
837 assert(requestor->level() > level(), "DefNewGeneration must be youngest");
856 void DefNewGeneration::reset_scratch() {
865 bool DefNewGeneration::collection_attempt_is_safe() {
881 void DefNewGeneration::gc_epilogue(bool full) {
951 void DefNewGeneration::record_spaces_top() {
958 void DefNewGeneration::ref_processor_init() {
963 void DefNewGeneration::update_counters() {
972 void DefNewGeneration::verify() {
978 void DefNewGeneration::print_on(outputStream* st) const {
989 const char* DefNewGeneration::name() const {
994 CompactibleSpace* DefNewGeneration::first_compaction_space() const {
998 HeapWord* DefNewGeneration::allocate(size_t word_size,
1000 // This is the slow-path allocation for the DefNewGeneration.
1003 // Note that since DefNewGeneration supports lock-free allocation, we
1041 HeapWord* DefNewGeneration::par_allocate(size_t word_size,
1046 void DefNewGeneration::gc_prologue(bool full) {
1051 size_t DefNewGeneration::tlab_capacity() const {
1055 size_t DefNewGeneration::unsafe_max_tlab_alloc() const {