< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp

Print this page
*** 106,11 ***
  ShenandoahRootScanner::~ShenandoahRootScanner() {
    nmethod::oops_do_marking_epilogue();
  }
  
  void ShenandoahRootScanner::roots_do(uint worker_id, OopClosure* oops) {
!   MarkingCodeBlobClosure blobs_cl(oops, !CodeBlobToOopClosure::FixRelocations);
    roots_do(worker_id, oops, &blobs_cl);
  }
  
  void ShenandoahRootScanner::roots_do(uint worker_id, OopClosure* oops, CodeBlobClosure* code, ThreadClosure *tc) {
    assert(ShenandoahSafepoint::is_at_shenandoah_safepoint(), "Must be at a safepoint");
--- 106,11 ---
  ShenandoahRootScanner::~ShenandoahRootScanner() {
    nmethod::oops_do_marking_epilogue();
  }
  
  void ShenandoahRootScanner::roots_do(uint worker_id, OopClosure* oops) {
!   MarkingCodeBlobClosure blobs_cl(oops, !CodeBlobToOopClosure::FixRelocations, true /*FIXME*/);
    roots_do(worker_id, oops, &blobs_cl);
  }
  
  void ShenandoahRootScanner::roots_do(uint worker_id, OopClosure* oops, CodeBlobClosure* code, ThreadClosure *tc) {
    assert(ShenandoahSafepoint::is_at_shenandoah_safepoint(), "Must be at a safepoint");

*** 258,11 ***
   }
  
   void ShenandoahHeapIterationRootScanner::roots_do(OopClosure* oops) {
     // Must use _claim_other to avoid interfering with concurrent CLDG iteration
     CLDToOopClosure clds(oops, ClassLoaderData::_claim_other);
!    MarkingCodeBlobClosure code(oops, !CodeBlobToOopClosure::FixRelocations);
     ShenandoahParallelOopsDoThreadClosure tc_cl(oops, &code, NULL);
     AlwaysTrueClosure always_true;
  
     ResourceMark rm;
  
--- 258,11 ---
   }
  
   void ShenandoahHeapIterationRootScanner::roots_do(OopClosure* oops) {
     // Must use _claim_other to avoid interfering with concurrent CLDG iteration
     CLDToOopClosure clds(oops, ClassLoaderData::_claim_other);
!    MarkingCodeBlobClosure code(oops, !CodeBlobToOopClosure::FixRelocations, true /*FIXME*/);
     ShenandoahParallelOopsDoThreadClosure tc_cl(oops, &code, NULL);
     AlwaysTrueClosure always_true;
  
     ResourceMark rm;
  
< prev index next >