src/share/vm/prims/jvmtiImpl.cpp

Print this page
rev 4482 : 6843375: Debuggee VM crashes performing mark-sweep-compact

@@ -380,13 +380,12 @@
   }
 }
 
 void VM_ChangeBreakpoints::oops_do(OopClosure* f) {
   // This operation keeps breakpoints alive
-  if (_breakpoints != NULL) {
-    _breakpoints->oops_do(f);
-  }
+  // The JvmtiBreakpoints in _breakpoints will be visited via
+  // JvmtiExport::oops_do.
   if (_bp != NULL) {
     _bp->oops_do(f);
   }
 }