< prev index next >

src/hotspot/share/utilities/ticks.inline.hpp

Print this page
rev 49681 : imported patch 6672778-refactoring
rev 49683 : [mq]: 6672778-inconsistent-time-fixes

@@ -31,11 +31,11 @@
   lhs += rhs;
   return lhs;
 }
 
 inline Tickspan operator-(Tickspan lhs, Tickspan rhs) {
-  lhs += rhs;
+  lhs -= rhs;
   return lhs;
 }
 
 inline bool operator==(const Tickspan& lhs, const Tickspan& rhs) {
   return lhs.value() == rhs.value();
< prev index next >