hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp
changeset 5350 cccf0925702e
parent 5344 f78ef2531f44
child 5540 e8a688e539aa
child 5377 bcf55c5acf4e
equal deleted inserted replaced
5349:02cc9df17a06 5350:cccf0925702e
     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