JDK-8134119 : Use new API to get cache line sizes
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_12
  • CPU: sparc
  • Submitted: 2015-08-21
  • Updated: 2018-02-08
  • Resolved: 2016-03-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u141Fixed 8u131Fixed 9 b110Fixed
Description
Use new API instead of PICL and kstat to get the machine type and cache line sizes.

Comments
root@pae-t58-04:/tmp# time jdk9b78-experimental/bin/java -XX:+UnlockDiagnosticVMOptions -XX:+UseNewCode -XX:ParallelGCThreads=4 -version java version "1.9.0-ea" Java(TM) SE Runtime Environment (build 1.9.0-ea-b78) Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal, mixed mode) real 0m0.454s user 0m0.187s sys 0m0.115s root@pae-t58-04:/tmp# time jdk9b78-experimental/bin/java -XX:+UnlockDiagnosticVMOptions -XX:-UseNewCode -XX:ParallelGCThreads=4 -version java version "1.9.0-ea" Java(TM) SE Runtime Environment (build 1.9.0-ea-b78) Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal, mixed mode) real 0m0.534s user 0m0.220s sys 0m0.156s
21-08-2015

Suggested fix
21-08-2015