8233027: OopMapSet::all_do does oms.next() twice during iteration
authornever
Fri, 25 Oct 2019 13:17:31 -0700
changeset 58805 d3382812b788
parent 58804 0942a1f47d26
child 58808 9261ad32cba9
8233027: OopMapSet::all_do does oms.next() twice during iteration Reviewed-by: shade, kvn
src/hotspot/share/compiler/oopMap.cpp
--- a/src/hotspot/share/compiler/oopMap.cpp	Fri Oct 25 11:51:48 2019 -0700
+++ b/src/hotspot/share/compiler/oopMap.cpp	Fri Oct 25 13:17:31 2019 -0700
@@ -335,7 +335,6 @@
       if (base_loc != NULL && *base_loc != NULL && !CompressedOops::is_base(*base_loc)) {
         derived_oop_fn(base_loc, derived_loc);
       }
-      oms.next();
     }
   }