United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6718879 : cannot build on solaris nevada

Details
Type:
Bug
Submit Date:
2008-06-25
Status:
Closed
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2010-01-13
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs10
Fixed Versions:
hs14 (b08)

Related Reports
Backport:
Backport:
Backport:
Relates:
Relates:

Sub Tasks

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

                                    

Comments
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.
                                     
2008-06-30
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",
                                     
2008-11-07
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/03f4fdd1b6af
                                     
2008-11-12



Hardware and Software, Engineered to Work Together