src/share/vm/oops/methodData.hpp

changeset 6643
ce9fd31ffd14
parent 6518
62c54fcc0a35
child 6876
710a3c8b516e
child 7153
f6f9aec27858
equal deleted inserted replaced
6642:9eddc467297f 6643:ce9fd31ffd14
1020 } 1020 }
1021 1021
1022 static ByteSize argument_type_offset(int i) { 1022 static ByteSize argument_type_offset(int i) {
1023 return in_ByteSize(argument_type_local_offset(i) * DataLayout::cell_size); 1023 return in_ByteSize(argument_type_local_offset(i) * DataLayout::cell_size);
1024 } 1024 }
1025
1026 static ByteSize return_only_size() {
1027 return ReturnTypeEntry::size() + in_ByteSize(header_cell_count() * DataLayout::cell_size);
1028 }
1029
1025 }; 1030 };
1026 1031
1027 // CallTypeData 1032 // CallTypeData
1028 // 1033 //
1029 // A CallTypeData is used to access profiling information about a non 1034 // A CallTypeData is used to access profiling information about a non
2170 type_profile_all = 2 2175 type_profile_all = 2
2171 }; 2176 };
2172 2177
2173 static bool profile_jsr292(methodHandle m, int bci); 2178 static bool profile_jsr292(methodHandle m, int bci);
2174 static int profile_arguments_flag(); 2179 static int profile_arguments_flag();
2175 static bool profile_arguments_jsr292_only();
2176 static bool profile_all_arguments(); 2180 static bool profile_all_arguments();
2177 static bool profile_arguments_for_invoke(methodHandle m, int bci); 2181 static bool profile_arguments_for_invoke(methodHandle m, int bci);
2178 static int profile_return_flag(); 2182 static int profile_return_flag();
2179 static bool profile_all_return(); 2183 static bool profile_all_return();
2180 static bool profile_return_for_invoke(methodHandle m, int bci); 2184 static bool profile_return_for_invoke(methodHandle m, int bci);
2473 void verify_on(outputStream* st); 2477 void verify_on(outputStream* st);
2474 void verify_data_on(outputStream* st); 2478 void verify_data_on(outputStream* st);
2475 2479
2476 static bool profile_parameters_for_method(methodHandle m); 2480 static bool profile_parameters_for_method(methodHandle m);
2477 static bool profile_arguments(); 2481 static bool profile_arguments();
2482 static bool profile_arguments_jsr292_only();
2478 static bool profile_return(); 2483 static bool profile_return();
2479 static bool profile_parameters(); 2484 static bool profile_parameters();
2480 static bool profile_return_jsr292_only(); 2485 static bool profile_return_jsr292_only();
2481 2486
2482 void clean_method_data(BoolObjectClosure* is_alive); 2487 void clean_method_data(BoolObjectClosure* is_alive);

mercurial