Currently, VM_Version::platform_features contains many definitions like
#ifndef AV_SPARC_ASI_BLK_INIT
#define AV_SPARC_ASI_BLK_INIT 0x0080 /* ASI_BLK_INIT_xxx ASI */
#endif
The reason for these definitions is that some versions of Solaris 10 do not define these constants.
In future versions of the JDK (possibly versions > 9) support for Solaris 10 will be dropped. When Solaris 10 is not supported anymore, we can get rid of these defines.
#ifndef AV_SPARC_ASI_BLK_INIT
#define AV_SPARC_ASI_BLK_INIT 0x0080 /* ASI_BLK_INIT_xxx ASI */
#endif
The reason for these definitions is that some versions of Solaris 10 do not define these constants.
In future versions of the JDK (possibly versions > 9) support for Solaris 10 will be dropped. When Solaris 10 is not supported anymore, we can get rid of these defines.
- relates to
-
JDK-8172231 SPARC ISA/CPU feature detection is broken/insufficient (on Solaris).
- Resolved
-
JDK-8043913 remove legacy code in SPARC's VM_Version::platform_features
- Resolved