Request for reviews (M): 7006505: Use kstat info to identify SPARC processor
Vladimir Kozlov
vladimir.kozlov at oracle.com
Wed Dec 15 08:26:37 PST 2010
Thank you, David
I will move it to vm.make.
Thanks,
Vladimir
On 12/15/10 1:34 AM, David Holmes wrote:
> Hi Vladimir,
>
> make/solaris/makefiles/sparcWorks.make
>
> This isn't a sparcworks option but a VM option. So although I hate to see platform specific code in vm.make I think that
> is the right file in which to add the -lkstat flag
>
> David
>
>
> Vladimir Kozlov said the following on 12/15/10 11:36:
>> http://cr.openjdk.java.net/~kvn/7006505/webrev
>>
>> Fixed 7006505: Use kstat info to identify SPARC processor
>>
>> Currently we use cpu count (32) to distinguish T1 Sparc
>> from latest T processors and it is not clear when/if we can
>> get an interface which provides information we need.
>>
>> It was suggested to read Solaris kstat data to get more
>> precise CPU information:
>>
>> implementation: UltraSPARC-T2+ (chipid 0, clock 1414 MHz)
>>
>> Unfortunately Solaris 8 (used to build JDK6) has different
>> kstat structure vs Solaris 10 (used to build JDK7) so
>> I have to work around this problem.
>>
>> Verified with JPRT build and test for jdk6 and jdk7.
>>
>> Additional changes:
>> Renamed is_niagara1 to is_niagara since it checks for
>> T family cpus not just T1.
>> Reduced heap size for test_gamma to -Xmx32m since
>> 64bit VM reserves 1/4 of physical memory by default.
>> Fixed print format for reserved heap size.
>> Print compressed oops mode with -XX:+PrintMiscellaneous -XX:+Verbose.
>> Add check for VIS3.
>> Use FXTOD and FXTOS on T series and SPARC64
>> (tested with microbenchmark).
>>
More information about the hotspot-dev
mailing list