JDK-6718879 : cannot build on solaris nevada
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-06-25
  • Updated: 2010-04-02
  • Resolved: 2010-01-13
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 JDK 7 Other
6u14Fixed 7Fixed hs14Fixed
Related Reports
Relates :  
Relates :  
Building hotspot on 

  SunOS <hostname> 5.11 snv_87 i86pc i386 i86pc

fails with

"/repo/src/os/solaris/vm/os_solaris.cpp", line 3689: Error: ia_nice is not a member of iaparms.
1 Error(s) detected.

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/03f4fdd1b6af

SUGGESTED FIX # HG changeset patch # User jcoomes # Date 1226470873 28800 # Node ID 03f4fdd1b6af72dc68590fca226cd9879af2d9c5 # Parent 122d10c82f3fe08aa323dd01703793c0869330ad 6718879: cannot build on solaris nevada Reviewed-by: xlu diff --git a/src/os/solaris/vm/os_solaris.cpp b/src/os/solaris/vm/os_solaris.cpp --- a/src/os/solaris/vm/os_solaris.cpp +++ b/src/os/solaris/vm/os_solaris.cpp @@ -3756,7 +3756,6 @@ int maxClamped = MIN2(iaLimits.maxPrio, (int)iaInfo->ia_uprilim); iaInfo->ia_upri = scale_to_lwp_priority(iaLimits.minPrio, maxClamped, newPrio); iaInfo->ia_uprilim = IA_NOCHANGE; - iaInfo->ia_nice = IA_NOCHANGE; iaInfo->ia_mode = IA_NOCHANGE; if (ThreadPriorityVerbose) { tty->print_cr ("IA: [%d...%d] %d->%d\n",

EVALUATION See Solaris bug 6712505. This was an undocumented, unused member that should not have been being used by anyone. As we only leave it's value unchanged, deleting the assignment to it in all codebases should be harmless.