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

src/share/vm/classfile/vmSymbols.hpp

Print this page

        

*** 1362,1369 **** --- 1362,1387 ---- static ID for_boxing(BasicType type); static ID for_unboxing(BasicType type); // Raw conversion: static ID for_raw_conversion(BasicType src, BasicType dest); + + // The methods below provide information related to compiling intrinsics. + + // (1) Information needed by the C1 compiler. + + static bool preserves_state(vmIntrinsics::ID id); + static bool can_trap(vmIntrinsics::ID id); + + // (2) Information needed by the C2 compiler. + + // Returns true if the intrinsic for method 'method' will perform a virtual dispatch. + static bool does_virtual_dispatch(vmIntrinsics::ID id); + // A return value larger than 0 indicates that the intrinsic for method + // 'method' requires predicated logic. + static int predicates_needed(vmIntrinsics::ID id); + + // Intrinsic is disabled by flag + static bool is_disabled_by_flags(vmIntrinsics::ID id); }; #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