Searched defs:strong_roots_parity (Results 1 - 2 of 2) sorted by relevance

/openjdk7/hotspot/src/share/vm/memory/
H A DsharedHeap.hpp207 // "strong_roots_parity()" method. Collectors that start parallel tasks
219 // same as the "strong_roots_parity"; task claiming is accomplished by
220 // updating the parity field to the strong_roots_parity with a CAS.
222 // If the client meats this spec, then strong_roots_parity() will have
232 int strong_roots_parity() { return _strong_roots_parity; } function in class:SharedHeap
/openjdk7/hotspot/src/share/vm/runtime/
H A Dthread.cpp805 bool Thread::claim_oops_do_par_case(int strong_roots_parity) { argument
807 if (thread_parity != strong_roots_parity) {
808 jint res = Atomic::cmpxchg(strong_roots_parity, &_oops_do_parity, thread_parity);
812 guarantee(res == strong_roots_parity, "Or else what?");
4146 int cp = SharedHeap::heap()->strong_roots_parity();

Completed in 41 milliseconds