equal
deleted
inserted
replaced
168 _java_thread_list_max = new_value; |
168 _java_thread_list_max = new_value; |
169 } |
169 } |
170 } |
170 } |
171 |
171 |
172 inline ThreadsList* ThreadsSMRSupport::xchg_java_thread_list(ThreadsList* new_list) { |
172 inline ThreadsList* ThreadsSMRSupport::xchg_java_thread_list(ThreadsList* new_list) { |
173 return (ThreadsList*)Atomic::xchg(new_list, &_java_thread_list); |
173 return (ThreadsList*)Atomic::xchg(&_java_thread_list, new_list); |
174 } |
174 } |
175 |
175 |
176 // Hash table of pointers found by a scan. Used for collecting hazard |
176 // Hash table of pointers found by a scan. Used for collecting hazard |
177 // pointers (ThreadsList references). Also used for collecting JavaThreads |
177 // pointers (ThreadsList references). Also used for collecting JavaThreads |
178 // that are indirectly referenced by hazard ptrs. An instance of this |
178 // that are indirectly referenced by hazard ptrs. An instance of this |