changeset 59234:60eff58d6f67

8235586: Shenandoah: Traversal GC still uses old CLD::oops_do API Reviewed-by: rkennke
author zgu
date Mon, 09 Dec 2019 14:01:03 -0500
parents a0c21305ee87
children 17b0f051280f
files src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp	Mon Dec 09 10:56:27 2019 -0800
+++ b/src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp	Mon Dec 09 14:01:03 2019 -0500
@@ -140,7 +140,7 @@
 public:
   ShenandoahMarkCLDClosure(OopClosure* cl) : _cl(cl) {}
   void do_cld(ClassLoaderData* cld) {
-    cld->oops_do(_cl, true, true);
+    cld->oops_do(_cl, ClassLoaderData::_claim_strong, true);
   }
 };
 
@@ -152,7 +152,7 @@
   ShenandoahRemarkCLDClosure(OopClosure* cl) : _cl(cl) {}
   void do_cld(ClassLoaderData* cld) {
     if (cld->has_modified_oops()) {
-      cld->oops_do(_cl, true, true);
+      cld->oops_do(_cl, ClassLoaderData::_claim_strong, true);
     }
   }
 };