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

changeset 1053
ae1579717a57
parent 1051
4f360ec815ba
child 1054
7ea5ca260b28
equal deleted inserted replaced
1052:0db4adb6e914 1053:ae1579717a57
2507 g1_policy()->record_collection_pause_start(start_time_sec, 2507 g1_policy()->record_collection_pause_start(start_time_sec,
2508 start_used_bytes); 2508 start_used_bytes);
2509 2509
2510 guarantee(_in_cset_fast_test == NULL, "invariant"); 2510 guarantee(_in_cset_fast_test == NULL, "invariant");
2511 guarantee(_in_cset_fast_test_base == NULL, "invariant"); 2511 guarantee(_in_cset_fast_test_base == NULL, "invariant");
2512 _in_cset_fast_test_length = n_regions(); 2512 _in_cset_fast_test_length = max_regions();
2513 _in_cset_fast_test_base = 2513 _in_cset_fast_test_base =
2514 NEW_C_HEAP_ARRAY(bool, _in_cset_fast_test_length); 2514 NEW_C_HEAP_ARRAY(bool, _in_cset_fast_test_length);
2515 memset(_in_cset_fast_test_base, false, 2515 memset(_in_cset_fast_test_base, false,
2516 _in_cset_fast_test_length * sizeof(bool)); 2516 _in_cset_fast_test_length * sizeof(bool));
2517 // We're biasing _in_cset_fast_test to avoid subtracting the 2517 // We're biasing _in_cset_fast_test to avoid subtracting the

mercurial