< prev index next >

src/hotspot/share/gc/serial/serialHeap.cpp

Print this page
@@ -92,11 +92,11 @@
  }
  
  void SerialHeap::young_process_roots(OopIterateClosure* root_closure,
                                       OopIterateClosure* old_gen_closure,
                                       CLDClosure* cld_closure) {
-   MarkingCodeBlobClosure mark_code_closure(root_closure, CodeBlobToOopClosure::FixRelocations);
+   MarkingCodeBlobClosure mark_code_closure(root_closure, CodeBlobToOopClosure::FixRelocations, false /* keepalive nmethods */);
  
    process_roots(SO_ScavengeCodeCache, root_closure,
                  cld_closure, cld_closure, &mark_code_closure);
  
    old_gen()->younger_refs_iterate(old_gen_closure);
< prev index next >