8044829: UseAES warning message generation differs on CPU architecture

Fixed issue with feature flag setting when AES support disabled explicitly

Reviewed-by: kvn
This commit is contained in:
Rahul Raghavan 2017-06-19 03:10:46 -07:00
parent 2614e75f50
commit 8ce7d1e1d8

View File

@ -641,9 +641,6 @@ void VM_Version::get_processor_features() {
_features &= ~CPU_VZEROUPPER;
}
if (!UseAES && !FLAG_IS_DEFAULT(UseAES))
_features &= ~CPU_AES;
if (logical_processors_per_package() == 1) {
// HT processor could be installed on a system which doesn't support HT.
_features &= ~CPU_HT;