JDK-7107919 : Remove hotspot assertion due to Solaris 8 kstat "unimplemented".
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2011-11-03
  • Updated: 2014-10-06
  • Resolved: 2012-02-02
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 6 Other
6u32 b01Fixed OpenJDK6Fixed
This issue affects building hotspot for Solaris 8 (i.e. JDK6), on virtual machines
(branded zoenes) in the jprt sust queue.

hotspot pulls cpu information from Solaris' kstat, and I see from my failing builds on the
sust jprt queue, that hotspot doesn't like it (asserts) when "UNSUPPORTED" is the answer
from kstat_lookup(..."cpu_info"...).

# Internal Error (/tmp/jprt/P1/120739.kevinwa/source/src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp:205),
pid=504, tid=2
# assert(strstr(impl, "SPARC") != NULL) failed: should be sparc

EVALUATION Remove assert. Warn in debug mode only. Only relevant where building on Solaris 8 is supported, i.e. JDK6 fix is required.