--- old/src/share/vm/gc_implementation/g1/heapRegion.hpp 2013-06-19 12:28:50.849451701 -0700 +++ new/src/share/vm/gc_implementation/g1/heapRegion.hpp 2013-06-19 12:28:50.618247896 -0700 @@ -803,24 +803,25 @@ // Routines for managing the list of code roots that point into // this heap region. - void push_strong_code_root(nmethod* nm); + void add_strong_code_root(nmethod* nm); void remove_strong_code_root(nmethod* nm); GrowableArray* strong_code_root_list() { return _strong_code_root_list; } - // During a collection, migrate strong code roots attached to - // this region to the new regions the regions they ppoint into. + // During a collection, migrate successfully evacuated strong + // code roots attached to this region to the new regions that + // they point into. Unsuccessfully evacuated code roots are + // not migrated. void migrate_strong_code_roots(); - // Applied blk->do_code_blob() to each of the entries in + // Applies blk->do_code_blob() to each of the entries in // the strong code roots list; void strong_code_roots_do(CodeBlobClosure* blk) const; // Verify that the entries on the strong code root list are live and - // include at lease one pointer into this region. - // Returns the number of failures. + // include at least one pointer into this region. void verify_strong_code_roots(VerifyOption vo, bool* failures) const; void print() const;