Duplicate :
|
|
Relates :
|
FULL PRODUCT VERSION : n/a FULL OS VERSION : SunOS lucentio 5.11 11.0 i86pc i386 i86pc Solaris A DESCRIPTION OF THE PROBLEM : When compiling Hotspot from Mercurial from the hsx/hsx23/hotspot repository on hg.openjdk.java.net the following error shows up: src/os/solaris/vm/os_solaris.cpp", line 4010: Error: ia_nice is not a member of iaparms. Problem is revision 3046 with the following text: Changeset: de268c8a8075 Author: phh Date: 2012-01-26 20:06 -0500 URL: http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/de268c8a8075 7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11 Summary: Add CriticalPriority == MaxPriority+1 and enable scheduling class as well as thread priority to change on Solaris. Reviewed-by: dholmes, dcubed which introduced the offending line. A similar issue has already been fixed earlier, see http://bugs.sun.com/view_bug.do?bug_id=6718879 Using the compiler "Oracle Solaris Studio 12.2 (Build 201008131055)". I just checked on another vanilla solaris 11 system, after installing the system/header package, the header file that should contain that type (iaparms_t) does not have an ia_nice member as well. THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try REGRESSION. Last worked in version 7 STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Compile the sources on Solaris 11 x86. EXPECTED VERSUS ACTUAL BEHAVIOR : The code builds REPRODUCIBILITY : This bug can be reproduced always. CUSTOMER SUBMITTED WORKAROUND : Comment out the line.