comparison src/share/vm/gc_implementation/g1/sparsePRT.cpp @ 628:7bb995fbd3c0

Merge
author trims
date Thu, 12 Mar 2009 18:16:36 -0700
parents 0db4adb6e914
children d44bdab1c03d
comparison
equal deleted inserted replaced
580:ce2272390558 628:7bb995fbd3c0
502 502
503 void SparsePRT::cleanup() { 503 void SparsePRT::cleanup() {
504 // Make sure that the current and next tables agree. (Another mechanism 504 // Make sure that the current and next tables agree. (Another mechanism
505 // takes care of deleting now-unused tables.) 505 // takes care of deleting now-unused tables.)
506 _cur = _next; 506 _cur = _next;
507 set_expanded(false);
507 } 508 }
508 509
509 void SparsePRT::expand() { 510 void SparsePRT::expand() {
510 RSHashTable* last = _next; 511 RSHashTable* last = _next;
511 _next = new RSHashTable(last->capacity() * 2); 512 _next = new RSHashTable(last->capacity() * 2);