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

src/share/vm/classfile/vmSymbols.hpp

Print this page
rev 9032 : 8137167: JEP165: Compiler Control: Implementation task
Summary: Compiler Control JEP
Reviewed-by: roland, twisti


1380   // Raw conversion:
1381   static ID for_raw_conversion(BasicType src, BasicType dest);
1382 
1383   // The methods below provide information related to compiling intrinsics.
1384 
1385   // (1) Information needed by the C1 compiler.
1386 
1387   static bool preserves_state(vmIntrinsics::ID id);
1388   static bool can_trap(vmIntrinsics::ID id);
1389 
1390   // (2) Information needed by the C2 compiler.
1391 
1392   // Returns true if the intrinsic for method 'method' will perform a virtual dispatch.
1393   static bool does_virtual_dispatch(vmIntrinsics::ID id);
1394   // A return value larger than 0 indicates that the intrinsic for method
1395   // 'method' requires predicated logic.
1396   static int predicates_needed(vmIntrinsics::ID id);
1397 
1398   // Returns true if a compiler intrinsic is disabled by command-line flags
1399   // and false otherwise.
1400   static bool is_disabled_by_flags(methodHandle method, methodHandle compilation_context);
1401 };
1402 
1403 #endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP


1380   // Raw conversion:
1381   static ID for_raw_conversion(BasicType src, BasicType dest);
1382 
1383   // The methods below provide information related to compiling intrinsics.
1384 
1385   // (1) Information needed by the C1 compiler.
1386 
1387   static bool preserves_state(vmIntrinsics::ID id);
1388   static bool can_trap(vmIntrinsics::ID id);
1389 
1390   // (2) Information needed by the C2 compiler.
1391 
1392   // Returns true if the intrinsic for method 'method' will perform a virtual dispatch.
1393   static bool does_virtual_dispatch(vmIntrinsics::ID id);
1394   // A return value larger than 0 indicates that the intrinsic for method
1395   // 'method' requires predicated logic.
1396   static int predicates_needed(vmIntrinsics::ID id);
1397 
1398   // Returns true if a compiler intrinsic is disabled by command-line flags
1399   // and false otherwise.
1400   static bool is_disabled_by_flags(methodHandle method);
1401 };
1402 
1403 #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