< prev index next >

src/hotspot/share/gc/shared/referenceProcessor.hpp

Print this page
rev 51997 : 8211279: Verify missing object equals barriers

*** 141,157 **** // Statistics inline size_t processed() const { return _processed; } inline size_t removed() const { return _removed; } inline void move_to_next() { ! if (_current_discovered == _next_discovered) { // End of the list. _current_discovered = NULL; } else { _current_discovered = _next_discovered; } ! assert(_current_discovered != _first_seen, "cyclic ref_list found"); _processed++; } }; // The ReferenceProcessor class encapsulates the per-"collector" processing --- 141,157 ---- // Statistics inline size_t processed() const { return _processed; } inline size_t removed() const { return _removed; } inline void move_to_next() { ! if (oopDesc::equals_raw(_current_discovered, _next_discovered)) { // End of the list. _current_discovered = NULL; } else { _current_discovered = _next_discovered; } ! assert(!oopDesc::equals_raw(_current_discovered, _first_seen), "cyclic ref_list found"); _processed++; } }; // The ReferenceProcessor class encapsulates the per-"collector" processing
< prev index next >