< prev index next >

src/hotspot/share/gc/parallel/psTasks.cpp

Print this page




  62       JNIHandles::oops_do(&roots_closure);
  63       break;
  64 
  65     case threads:
  66     {
  67       ResourceMark rm;
  68       Threads::oops_do(&roots_closure, NULL);
  69     }
  70     break;
  71 
  72     case object_synchronizer:
  73       ObjectSynchronizer::oops_do(&roots_closure);
  74       break;
  75 
  76     case system_dictionary:
  77       SystemDictionary::oops_do(&roots_closure);
  78       break;
  79 
  80     case class_loader_data:
  81     {
  82       PSScavengeKlassClosure klass_closure(pm);
  83       ClassLoaderDataGraph::oops_do(&roots_closure, &klass_closure, false);
  84     }
  85     break;
  86 
  87     case management:
  88       Management::oops_do(&roots_closure);
  89       break;
  90 
  91     case jvmti:
  92       JvmtiExport::oops_do(&roots_closure);
  93       break;
  94 
  95 
  96     case code_cache:
  97       {
  98         MarkingCodeBlobClosure each_scavengable_code_blob(&roots_to_old_closure, CodeBlobToOopClosure::FixRelocations);
  99         CodeCache::scavenge_root_nmethods_do(&each_scavengable_code_blob);
 100         AOTLoader::oops_do(&roots_closure);
 101       }
 102       break;
 103 




  62       JNIHandles::oops_do(&roots_closure);
  63       break;
  64 
  65     case threads:
  66     {
  67       ResourceMark rm;
  68       Threads::oops_do(&roots_closure, NULL);
  69     }
  70     break;
  71 
  72     case object_synchronizer:
  73       ObjectSynchronizer::oops_do(&roots_closure);
  74       break;
  75 
  76     case system_dictionary:
  77       SystemDictionary::oops_do(&roots_closure);
  78       break;
  79 
  80     case class_loader_data:
  81     {
  82       PSScavengeCLDClosure ps(pm);
  83       ClassLoaderDataGraph::cld_do(&ps);
  84     }
  85     break;
  86 
  87     case management:
  88       Management::oops_do(&roots_closure);
  89       break;
  90 
  91     case jvmti:
  92       JvmtiExport::oops_do(&roots_closure);
  93       break;
  94 
  95 
  96     case code_cache:
  97       {
  98         MarkingCodeBlobClosure each_scavengable_code_blob(&roots_to_old_closure, CodeBlobToOopClosure::FixRelocations);
  99         CodeCache::scavenge_root_nmethods_do(&each_scavengable_code_blob);
 100         AOTLoader::oops_do(&roots_closure);
 101       }
 102       break;
 103 


< prev index next >