< prev index next >

src/hotspot/share/code/dependencyContext.cpp

Print this page

        

@@ -258,11 +258,11 @@
 }
 
 #endif //PRODUCT
 
 int nmethodBucket::decrement() {
-  return Atomic::sub(1, &_count);
+  return Atomic::sub(&_count, 1);
 }
 
 // We use a monotonically increasing epoch counter to track the last epoch a given
 // dependency context was cleaned. GC threads claim cleanup tasks by performing
 // a CAS on this value.
< prev index next >