src/share/vm/oops/methodData.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/vm/oops/methodData.hpp
src/share/vm/oops/methodData.hpp
Print this page
*** 2093,2102 ****
--- 2093,2103 ----
// Number of loops and blocks is computed when compiling the first
// time with C1. It is used to determine if method is trivial.
short _num_loops;
short _num_blocks;
+ bool _stats_valid; // determines if above values are set
// Does this method contain anything worth profiling?
bool _would_profile;
// Size of _data array in bytes. (Excludes header and extra_data fields.)
int _data_size;
*** 2275,2284 ****
--- 2276,2287 ----
int num_loops() const { return _num_loops; }
void set_num_loops(int n) { _num_loops = n; }
int num_blocks() const { return _num_blocks; }
void set_num_blocks(int n) { _num_blocks = n; }
+ bool stats_valid() const { return _stats_valid; }
+ void set_stats_valid(bool valid) { _stats_valid = valid; }
bool is_mature() const; // consult mileage and ProfileMaturityPercentage
static int mileage_of(Method* m);
// Support for interprocedural escape analysis, from Thomas Kotzmann.
src/share/vm/oops/methodData.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File