Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/ci/ciMethod.cpp
          +++ new/src/share/vm/ci/ciMethod.cpp
   1    1  /*
   2      - * Copyright 1999-2009 Sun Microsystems, Inc.  All Rights Reserved.
        2 + * Copyright 1999-2010 Sun Microsystems, Inc.  All Rights Reserved.
   3    3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4   *
   5    5   * This code is free software; you can redistribute it and/or modify it
   6    6   * under the terms of the GNU General Public License version 2 only, as
   7    7   * published by the Free Software Foundation.
   8    8   *
   9    9   * This code is distributed in the hope that it will be useful, but WITHOUT
  10   10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11   11   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12   12   * version 2 for more details (a copy is included in the LICENSE file that
↓ open down ↓ 680 lines elided ↑ open up ↑
 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;
 701  701  }
 702  702  
      703 +bool ciMethod::is_method_handle_adapter() const {
      704 +  check_is_loaded();
      705 +  VM_ENTRY_MARK;
      706 +  return get_methodOop()->is_method_handle_adapter();
      707 +}
      708 +
 703  709  ciInstance* ciMethod::method_handle_type() {
 704  710    check_is_loaded();
 705  711    VM_ENTRY_MARK;
 706  712    oop mtype = get_methodOop()->method_handle_type();
 707  713    return CURRENT_THREAD_ENV->get_object(mtype)->as_instance();
 708  714  }
 709  715  
 710  716  
 711  717  // ------------------------------------------------------------------
 712  718  // ciMethod::build_method_data
↓ open down ↓ 364 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX