United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7107919 Remove hotspot assertion due to Solaris 8 kstat "unimplemented".
JDK-7107919 : Remove hotspot assertion due to Solaris 8 kstat "unimplemented".

Details
Type:
Bug
Submit Date:
2011-11-03
Status:
Closed
Updated Date:
2012-04-13
Project Name:
JDK
Resolved Date:
2012-02-02
Component:
hotspot
OS:
solaris_8
Sub-Component:
compiler
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
6u32 (b01)

Related Reports
Backport:

Sub Tasks

Description
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
#

                                    

Comments
EVALUATION

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



Hardware and Software, Engineered to Work Together