src/share/vm/gc_implementation/g1/heapRegion.cpp

changeset 1829
1316cec51b4d
parent 1823
7666957bc44d
child 1840
fb57d4cf76c2
child 1900
cc387008223e
equal deleted inserted replaced
1828:6ecb6e6de3d6 1829:1316cec51b4d
1 /* 1 /*
2 * Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 2001-2010 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
448 _claimed(InitialClaimValue), _evacuation_failed(false), 448 _claimed(InitialClaimValue), _evacuation_failed(false),
449 _prev_marked_bytes(0), _next_marked_bytes(0), _sort_index(-1), 449 _prev_marked_bytes(0), _next_marked_bytes(0), _sort_index(-1),
450 _young_type(NotYoung), _next_young_region(NULL), 450 _young_type(NotYoung), _next_young_region(NULL),
451 _next_dirty_cards_region(NULL), 451 _next_dirty_cards_region(NULL),
452 _young_index_in_cset(-1), _surv_rate_group(NULL), _age_index(-1), 452 _young_index_in_cset(-1), _surv_rate_group(NULL), _age_index(-1),
453 _rem_set(NULL), _zfs(NotZeroFilled) 453 _rem_set(NULL), _zfs(NotZeroFilled),
454 _recorded_rs_length(0), _predicted_elapsed_time_ms(0),
455 _predicted_bytes_to_copy(0)
454 { 456 {
455 _orig_end = mr.end(); 457 _orig_end = mr.end();
456 // Note that initialize() will set the start of the unmarked area of the 458 // Note that initialize() will set the start of the unmarked area of the
457 // region. 459 // region.
458 this->initialize(mr, !is_zeroed, SpaceDecorator::Mangle); 460 this->initialize(mr, !is_zeroed, SpaceDecorator::Mangle);
731 else if (is_gc_alloc_region()) 733 else if (is_gc_alloc_region())
732 st->print(" A "); 734 st->print(" A ");
733 else 735 else
734 st->print(" "); 736 st->print(" ");
735 if (is_young()) 737 if (is_young())
736 st->print(is_scan_only() ? " SO" : (is_survivor() ? " SU" : " Y ")); 738 st->print(is_survivor() ? " SU" : " Y ");
737 else 739 else
738 st->print(" "); 740 st->print(" ");
739 if (is_empty()) 741 if (is_empty())
740 st->print(" F"); 742 st->print(" F");
741 else 743 else

mercurial