JDK-7059226 : rewrite cpuid code in vm_version_x86 to not use stub generation.
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs22
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: x86
  • Submitted: 2011-06-25
  • Updated: 2015-11-06
  • Resolved: 2015-11-06
Related Reports
Relates :  
Description
The assembler code for extracting CPUID info in vm_version_x86 became very complex. It also depends on stub generation logic so it can't be used, for example, to check if clflush instruction (used in ICache flushing code) is supported.

Factor out CPUID instruction assembler code and move it into platform specific .s files.

Comments
as JDK-6990015 is fixed , and added check guarantee(_cpuid_info.std_cpuid1_ebx.bits.clflush_size == 8, "such clflush size is not supported"); never failed. closing this enhancement plan as "Won't Fix".
06-11-2015

[~jcm], or maybe this one?
03-11-2015