Request for reviews (M): 7006505: Use kstat info to identify SPARC processor
Tom Rodriguez
tom.rodriguez at oracle.com
Wed Dec 15 09:06:39 PST 2010
That looks good, apart from David's comment about moving the -lkstat line to vm.make.
tom
On Dec 14, 2010, at 5:36 PM, Vladimir Kozlov wrote:
> 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