< prev index next >

src/share/vm/code/nmethod.cpp

Print this page

        

*** 489,499 **** #endif _oops_do_mark_link = NULL; _jmethod_id = NULL; _osr_link = NULL; ! if (UseG1GC) { _unloading_next = NULL; } else { _scavenge_root_link = NULL; } _scavenge_root_state = 0; --- 489,499 ---- #endif _oops_do_mark_link = NULL; _jmethod_id = NULL; _osr_link = NULL; ! if (UseG1GC || UseShenandoahGC) { _unloading_next = NULL; } else { _scavenge_root_link = NULL; } _scavenge_root_state = 0;
*** 2834,2844 **** } virtual void do_oop(narrowOop* p) { ShouldNotReachHere(); } }; void nmethod::verify_scavenge_root_oops() { ! if (UseG1GC) { return; } if (!on_scavenge_root_list()) { // Actually look inside, to verify the claim that it's clean. --- 2834,2844 ---- } virtual void do_oop(narrowOop* p) { ShouldNotReachHere(); } }; void nmethod::verify_scavenge_root_oops() { ! if (UseG1GC || UseShenandoahGC) { return; } if (!on_scavenge_root_list()) { // Actually look inside, to verify the claim that it's clean.
< prev index next >