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); |