< prev index next >

src/share/vm/memory/generation.hpp

Print this page

        

*** 120,130 **** // Apply "cl->do_oop" to (the address of) (exactly) all the ref fields in // "sp" that point into younger generations. // The iteration is only over objects allocated at the start of the // iterations; objects allocated as a result of applying the closure are // not included. ! void younger_refs_in_space_iterate(Space* sp, OopsInGenClosure* cl); public: // The set of possible generation kinds. enum Name { DefNew, --- 120,130 ---- // Apply "cl->do_oop" to (the address of) (exactly) all the ref fields in // "sp" that point into younger generations. // The iteration is only over objects allocated at the start of the // iterations; objects allocated as a result of applying the closure are // not included. ! void younger_refs_in_space_iterate(Space* sp, OopsInGenClosure* cl, uint n_threads); public: // The set of possible generation kinds. enum Name { DefNew,
*** 524,534 **** // Apply "cl->do_oop" to (the address of) all and only all the ref fields // in the current generation that contain pointers to objects in younger // generations. Objects allocated since the last "save_marks" call are // excluded. ! virtual void younger_refs_iterate(OopsInGenClosure* cl) = 0; // Inform a generation that it longer contains references to objects // in any younger generation. [e.g. Because younger gens are empty, // clear the card table.] virtual void clear_remembered_set() { } --- 524,534 ---- // Apply "cl->do_oop" to (the address of) all and only all the ref fields // in the current generation that contain pointers to objects in younger // generations. Objects allocated since the last "save_marks" call are // excluded. ! virtual void younger_refs_iterate(OopsInGenClosure* cl, uint n_threads) = 0; // Inform a generation that it longer contains references to objects // in any younger generation. [e.g. Because younger gens are empty, // clear the card table.] virtual void clear_remembered_set() { }
< prev index next >