hotspot/src/share/vm/gc_implementation/parNew/parCardTableModRefBS.cpp
changeset 6759 67b1a69ef5aa
parent 5547 f4b087cbb361
child 7397 5b173b4ca846
equal deleted inserted replaced
6451:516540f1f076 6759:67b1a69ef5aa
     1 /*
     1 /*
     2  * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2010 Oracle and/or its affiliates. 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.
    42                             lowest_non_clean_base_chunk_index,
    42                             lowest_non_clean_base_chunk_index,
    43                             lowest_non_clean_chunk_size);
    43                             lowest_non_clean_chunk_size);
    44 
    44 
    45     int n_strides = n_threads * StridesPerThread;
    45     int n_strides = n_threads * StridesPerThread;
    46     SequentialSubTasksDone* pst = sp->par_seq_tasks();
    46     SequentialSubTasksDone* pst = sp->par_seq_tasks();
    47     pst->set_par_threads(n_threads);
    47     pst->set_n_threads(n_threads);
    48     pst->set_n_tasks(n_strides);
    48     pst->set_n_tasks(n_strides);
    49 
    49 
    50     int stride = 0;
    50     int stride = 0;
    51     while (!pst->is_task_claimed(/* reference */ stride)) {
    51     while (!pst->is_task_claimed(/* reference */ stride)) {
    52       process_stride(sp, mr, stride, n_strides, dcto_cl, cl, clear,
    52       process_stride(sp, mr, stride, n_strides, dcto_cl, cl, clear,