# HG changeset patch # User phedlin # Date 1536754095 -7200 # Node ID d23d7389142f1bc3bb582681fafe42286d4640ef # Parent 43668e3cae4d0c46e2cd6a12ba55b9e544f94309 8210284: "assert((av & 0x00000001) == 0) failed: unsupported V8" on Solaris 11.4 Summary: Sanity checks on V8 legacy properties removed. Reviewed-by: neliasso, eosterlund, kvn diff -r 43668e3cae4d -r d23d7389142f src/hotspot/os_cpu/solaris_sparc/vm_version_solaris_sparc.cpp --- a/src/hotspot/os_cpu/solaris_sparc/vm_version_solaris_sparc.cpp Thu Sep 20 08:59:03 2018 +0200 +++ b/src/hotspot/os_cpu/solaris_sparc/vm_version_solaris_sparc.cpp Wed Sep 12 14:08:15 2018 +0200 @@ -343,12 +343,9 @@ uint32_t av = avs[AV_HW1_IDX]; - // These are SPARC V8 legacy features. - - assert((av & AV_SPARC_MUL32) == 0, "unsupported V8"); - assert((av & AV_SPARC_DIV32) == 0, "unsupported V8"); - assert((av & AV_SPARC_FSMULD) == 0, "unsupported V8"); - assert((av & AV_SPARC_V8PLUS) == 0, "unsupported V8"); + // Obsolete and 32b legacy mode capabilites NOT probed here, despite being + // set by Solaris 11.4 (onward) also on V9; AV_SPARC_MUL32, AV_SPARC_DIV32 + // and AV_SPARC_FSMULD (and AV_SPARC_V8PLUS). if (av & AV_SPARC_POPC) features |= ISA_popc_msk; if (av & AV_SPARC_VIS) features |= ISA_vis1_msk;