src/share/vm/classfile/vmSymbols.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8130832-review Sdiff src/share/vm/classfile

src/share/vm/classfile/vmSymbols.hpp

Print this page




1347     assert(signature_for(id) == sig,    "correct id");
1348     return id;
1349   }
1350 
1351   static void verify_method(ID actual_id, Method* m) PRODUCT_RETURN;
1352 
1353   // Find out the symbols behind an intrinsic:
1354   static vmSymbols::SID     class_for(ID id);
1355   static vmSymbols::SID      name_for(ID id);
1356   static vmSymbols::SID signature_for(ID id);
1357   static Flags              flags_for(ID id);
1358 
1359   static const char* short_name_as_C_string(ID id, char* buf, int size);
1360 
1361   // Wrapper object methods:
1362   static ID for_boxing(BasicType type);
1363   static ID for_unboxing(BasicType type);
1364 
1365   // Raw conversion:
1366   static ID for_raw_conversion(BasicType src, BasicType dest);


















1367 };
1368 
1369 #endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP


1347     assert(signature_for(id) == sig,    "correct id");
1348     return id;
1349   }
1350 
1351   static void verify_method(ID actual_id, Method* m) PRODUCT_RETURN;
1352 
1353   // Find out the symbols behind an intrinsic:
1354   static vmSymbols::SID     class_for(ID id);
1355   static vmSymbols::SID      name_for(ID id);
1356   static vmSymbols::SID signature_for(ID id);
1357   static Flags              flags_for(ID id);
1358 
1359   static const char* short_name_as_C_string(ID id, char* buf, int size);
1360 
1361   // Wrapper object methods:
1362   static ID for_boxing(BasicType type);
1363   static ID for_unboxing(BasicType type);
1364 
1365   // Raw conversion:
1366   static ID for_raw_conversion(BasicType src, BasicType dest);
1367 
1368   // The methods below provide information related to compiling intrinsics.
1369 
1370   // (1) Information needed by the C1 compiler.
1371 
1372   static bool preserves_state(vmIntrinsics::ID id);
1373   static bool can_trap(vmIntrinsics::ID id);
1374 
1375   // (2) Information needed by the C2 compiler.
1376 
1377   // Returns true if the intrinsic for method 'method' will perform a virtual dispatch.
1378   static bool does_virtual_dispatch(vmIntrinsics::ID id);
1379   // A return value larger than 0 indicates that the intrinsic for method
1380   // 'method' requires predicated logic.
1381   static int predicates_needed(vmIntrinsics::ID id);
1382 
1383   // Intrinsic is disabled by flag
1384   static bool is_disabled_by_flags(vmIntrinsics::ID id);
1385 };
1386 
1387 #endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP
src/share/vm/classfile/vmSymbols.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File