comparison src/share/vm/oops/methodData.hpp @ 10265:92ef81e2f571

8003557: NPG: Klass* const k should be const Klass* k. Summary: With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*. Reviewed-by: coleenp, kvn Contributed-by: yumin.qi@oracle.com
author minqi
date Fri, 10 May 2013 08:27:30 -0700
parents b84fd7d73702
children 836a62f43af9 69f26e8e09f9 abe03600372a
comparison
equal deleted inserted replaced
10262:c272092594bd 10265:92ef81e2f571
1336 InvocationCounter* backedge_counter() { return &_backedge_counter; } 1336 InvocationCounter* backedge_counter() { return &_backedge_counter; }
1337 1337
1338 void set_would_profile(bool p) { _would_profile = p; } 1338 void set_would_profile(bool p) { _would_profile = p; }
1339 bool would_profile() const { return _would_profile; } 1339 bool would_profile() const { return _would_profile; }
1340 1340
1341 int highest_comp_level() { return _highest_comp_level; } 1341 int highest_comp_level() const { return _highest_comp_level; }
1342 void set_highest_comp_level(int level) { _highest_comp_level = level; } 1342 void set_highest_comp_level(int level) { _highest_comp_level = level; }
1343 int highest_osr_comp_level() { return _highest_osr_comp_level; } 1343 int highest_osr_comp_level() const { return _highest_osr_comp_level; }
1344 void set_highest_osr_comp_level(int level) { _highest_osr_comp_level = level; } 1344 void set_highest_osr_comp_level(int level) { _highest_osr_comp_level = level; }
1345 1345
1346 int num_loops() const { return _num_loops; } 1346 int num_loops() const { return _num_loops; }
1347 void set_num_loops(int n) { _num_loops = n; } 1347 void set_num_loops(int n) { _num_loops = n; }
1348 int num_blocks() const { return _num_blocks; } 1348 int num_blocks() const { return _num_blocks; }