src/share/vm/runtime/thread.hpp

Print this page

        

*** 450,460 **** // Handles the parallel case for the method below. private: bool claim_oops_do_par_case(int collection_parity); public: ! // Requires that "collection_parity" is that of the current strong roots // iteration. If "is_par" is false, sets the parity of "this" to // "collection_parity", and returns "true". If "is_par" is true, // uses an atomic instruction to set the current threads parity to // "collection_parity", if it is not already. Returns "true" iff the // calling thread does the update, this indicates that the calling thread --- 450,460 ---- // Handles the parallel case for the method below. private: bool claim_oops_do_par_case(int collection_parity); public: ! // Requires that "collection_parity" is that of the current roots // iteration. If "is_par" is false, sets the parity of "this" to // "collection_parity", and returns "true". If "is_par" is true, // uses an atomic instruction to set the current threads parity to // "collection_parity", if it is not already. Returns "true" iff the // calling thread does the update, this indicates that the calling thread