Print this page
rev 1082 : [mq]: indy.compiler.patch

Split Close
Expand all
Collapse all
          --- old/src/share/vm/ci/ciMethod.cpp
          +++ new/src/share/vm/ci/ciMethod.cpp
↓ open down ↓ 679 lines elided ↑ open up ↑
 680  680        count = (int)((double)count * prof_factor * method_life / counter_life + 0.5);
 681  681        count = (count > 0) ? count : 1;
 682  682      }
 683  683    }
 684  684    return count;
 685  685  }
 686  686  
 687  687  // ------------------------------------------------------------------
 688  688  // invokedynamic support
 689  689  //
 690      -bool ciMethod::is_method_handle_invoke() {
      690 +bool ciMethod::is_method_handle_invoke() const {
 691  691    check_is_loaded();
 692  692    bool flag = ((flags().as_int() & JVM_MH_INVOKE_BITS) == JVM_MH_INVOKE_BITS);
 693  693  #ifdef ASSERT
 694  694    {
 695  695      VM_ENTRY_MARK;
 696  696      bool flag2 = get_methodOop()->is_method_handle_invoke();
 697  697      assert(flag == flag2, "consistent");
 698  698    }
 699  699  #endif //ASSERT
 700  700    return flag;
↓ open down ↓ 376 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX