< prev index next >

src/hotspot/share/gc/g1/g1RootClosures.cpp

Print this page

        

*** 42,53 **** CLDClosure* weak_clds() { return &_closures._clds; } CLDClosure* strong_clds() { return &_closures._clds; } CLDClosure* second_pass_weak_clds() { return NULL; } ! CodeBlobClosure* strong_codeblobs() { return &_closures._codeblobs; } ! CodeBlobClosure* weak_codeblobs() { return &_closures._codeblobs; } OopClosure* raw_strong_oops() { return &_closures._oops; } bool trace_metadata() { return false; } }; --- 42,53 ---- CLDClosure* weak_clds() { return &_closures._clds; } CLDClosure* strong_clds() { return &_closures._clds; } CLDClosure* second_pass_weak_clds() { return NULL; } ! CodeBlobClosure* strong_codeblobs() { return &_closures._strong_codeblobs; } ! CodeBlobClosure* weak_codeblobs() { return &_closures._weak_codeblobs; } OopClosure* raw_strong_oops() { return &_closures._oops; } bool trace_metadata() { return false; } };
*** 85,96 **** // If MarkWeak is G1MarkFromRoot then all CLDs are processed by the weak and strong variants // return a NULL closure for the following specialized versions in that case. CLDClosure* second_pass_weak_clds() { return null_if<G1MarkFromRoot>(&_weak._clds); } ! CodeBlobClosure* strong_codeblobs() { return &_strong._codeblobs; } ! CodeBlobClosure* weak_codeblobs() { return &_weak._codeblobs; } OopClosure* raw_strong_oops() { return &_strong._oops; } // If we are not marking all weak roots then we are tracing // which metadata is alive. --- 85,96 ---- // If MarkWeak is G1MarkFromRoot then all CLDs are processed by the weak and strong variants // return a NULL closure for the following specialized versions in that case. CLDClosure* second_pass_weak_clds() { return null_if<G1MarkFromRoot>(&_weak._clds); } ! CodeBlobClosure* strong_codeblobs() { return &_strong._strong_codeblobs; } ! CodeBlobClosure* weak_codeblobs() { return &_weak._weak_codeblobs; } OopClosure* raw_strong_oops() { return &_strong._oops; } // If we are not marking all weak roots then we are tracing // which metadata is alive.
< prev index next >