hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 5687 b862d1f189bd
parent 5686 5435e77aa3df
child 5702 201c5cde25bb
equal deleted inserted replaced
5686:5435e77aa3df 5687:b862d1f189bd
  2053   AdapterHandlerEntry* _current;
  2053   AdapterHandlerEntry* _current;
  2054 
  2054 
  2055   void scan() {
  2055   void scan() {
  2056     while (_index < _table->table_size()) {
  2056     while (_index < _table->table_size()) {
  2057       AdapterHandlerEntry* a = _table->bucket(_index);
  2057       AdapterHandlerEntry* a = _table->bucket(_index);
       
  2058       _index++;
  2058       if (a != NULL) {
  2059       if (a != NULL) {
  2059         _current = a;
  2060         _current = a;
  2060         return;
  2061         return;
  2061       }
  2062       }
  2062       _index++;
       
  2063     }
  2063     }
  2064   }
  2064   }
  2065 
  2065 
  2066  public:
  2066  public:
  2067   AdapterHandlerTableIterator(AdapterHandlerTable* table): _table(table), _index(0), _current(NULL) {
  2067   AdapterHandlerTableIterator(AdapterHandlerTable* table): _table(table), _index(0), _current(NULL) {