Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/vm/ci/ciMethodData.hpp
          +++ new/src/share/vm/ci/ciMethodData.hpp
   1    1  /*
   2      - * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
        2 + * Copyright (c) 2001, 2011, Oracle and/or its affiliates. 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 ↓ 213 lines elided ↑ open up ↑
 226  226    }
 227  227  
 228  228  
 229  229    // What is the index of the first data entry?
 230  230    int first_di() { return 0; }
 231  231  
 232  232    ciArgInfoData *arg_info() const;
 233  233  
 234  234  public:
 235  235    bool is_method_data()  { return true; }
 236      -  bool is_empty() { return _state == empty_state; }
      236 +
      237 +  void set_mature() { _state = mature_state; }
      238 +
      239 +  bool is_empty()  { return _state == empty_state; }
 237  240    bool is_mature() { return _state == mature_state; }
 238  241  
 239  242    int creation_mileage() { return _orig.creation_mileage(); }
 240  243    int current_mileage()  { return _current_mileage; }
 241  244  
 242  245    int invocation_count() { return _invocation_counter; }
 243  246    int backedge_count()   { return _backedge_counter;   }
 244  247    // Transfer information about the method to methodDataOop.
 245  248    // would_profile means we would like to profile this method,
 246  249    // meaning it's not trivial.
↓ open down ↓ 79 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX