< prev index next >

src/cpu/ppc/vm/vm_version_ppc.cpp

Print this page
rev 11916 : 8165235: [TESTBUG] RTM tests must check OS version
Summary: Also change enabling RTM on Aix to OS version 7.2.
Reviewed-by: simonis

*** 272,282 **** if (!has_tcheck()) { vm_exit_during_initialization("RTM instructions are not available on this CPU"); } bool os_too_old = true; #ifdef AIX ! if (os::Aix::os_version() >= 0x0701031e) { // at least AIX 7.1.3.30 os_too_old = false; } #endif #ifdef LINUX // At least Linux kernel 4.2, as the problematic behavior of syscalls --- 272,289 ---- if (!has_tcheck()) { vm_exit_during_initialization("RTM instructions are not available on this CPU"); } bool os_too_old = true; #ifdef AIX ! // Actually, this is supported since AIX 7.1.. Unfortunately, this first ! // contained bugs, so that it can only be enabled after AIX 7.1.3.30. ! // The Java property os.version, which is used in RTM tests to decide ! // whether the feature is available, only knows major and minor versions. ! // We don't want to change this property, as user code might depend on it. ! // So the tests can not check on subversion 3.30, and we only enable RTM ! // with AIX 7.2. ! if (os::Aix::os_version() >= 0x07020000) { // At least AIX 7.2. os_too_old = false; } #endif #ifdef LINUX // At least Linux kernel 4.2, as the problematic behavior of syscalls
< prev index next >