< prev index next >

src/hotspot/share/ci/ciMethod.hpp

Print this page

        

@@ -124,10 +124,13 @@
 
   // Check bytecode and profile data collected are compatible
   void assert_virtual_call_type_ok(int bci);
   void assert_call_type_ok(int bci);
 
+  // Update profile counters with saturating addition
+  template <typename L, typename R> int saturated_add(L a, R b);
+
  public:
   void check_is_loaded() const                   { assert(is_loaded(), "not loaded"); }
 
   // Basic method information.
   ciFlags flags() const                          { check_is_loaded(); return _flags; }
< prev index next >