8154473: Update for CompilerDirectives to control stub generation and intrinsics

Use -XX:DisableIntrinsic flag to control intrinsics usage in Interpreter.

Reviewed-by: twisti, neliasso, kvn, simonis
This commit is contained in:
Vivek Deshpande 2016-05-20 14:17:55 -07:00
parent 6dfcf1dd81
commit 489b38091e
9 changed files with 144 additions and 298 deletions

View file

@ -1583,6 +1583,9 @@ public:
// Returns true if a compiler intrinsic is disabled by command-line flags
// and false otherwise.
static bool is_disabled_by_flags(const methodHandle& method);
static bool is_disabled_by_flags(vmIntrinsics::ID id);
static bool is_intrinsic_disabled(vmIntrinsics::ID id);
static bool is_intrinsic_available(vmIntrinsics::ID id);
};
#endif // SHARE_VM_CLASSFILE_VMSYMBOLS_HPP