RFR(XXS): JDK-8007069 VM_Version_x86 cores per cpu is wrong for cpuid 0xb topology case

Mikael Vidstedt mikael.vidstedt at oracle.com
Wed Jan 30 08:29:50 PST 2013


Looking at the Intel manual for CPUID 0Bh it basically says that one 
should not use the value in EBX[15:0] for anything other than 
"...display/diagnostic purposes". There's also a cores_per_cpu in CPUID 
04h EAX[31:26] (aka. dcp_cpuid4_eax.bits.cores_per_cpu), do you happen 
to know what the difference is? Is that maybe a better candidate for this?

Cheers,
Mikael

On 1/29/2013 2:10 AM, Markus Grönlund wrote:
> Hi again,
>
> Apologies for posting the wrong webrev link, this is the one I wanted to submit:
>
> Bug: https://jbs.oracle.com/bugs/browse/JDK-8007069
> Webrev:  http://cr.openjdk.java.net/~mgronlun/8007069/webrev01/
>
>
> Thanks Mikael for the heads up
>
> Cheers
> Markus
>
>
>
> -----Original Message-----
> From: Mikael Gerdin
> Sent: den 29 januari 2013 10:59
> To: Markus Grönlund
> Cc: hotspot-dev at openjdk.java.net
> Subject: Re: RFR(XXS): JDK-8007069 VM_Version_x86 cores per cpu is wrong for cpuid 0xb topology case
>
> Markus,
>
> On 2013-01-29 10:54, Markus Grönlund wrote:
>> Hi all,
>>
>>
>>
>> Kindly asking for review for the following very simple change in the logic for number of cores for CPUID 0xb topology.
>>
>>
>>
>> Bug: https://jbs.oracle.com/bugs/browse/JDK-8007069
>>
>> Webrev:  http://wikifiles.se.oracle.com/dev/mgronlun/webrevs/8007069/webrev01/
> This URL is not available from outside Oracle.
>
> /Mikael
>
>>
>>
>> Also need someone to sponsor this putback.
>>
>>
>>
>> Thanks in advance
>>
>> Markus
>>



More information about the hotspot-dev mailing list