JDK-7041586 : SOLARIS_11_B159_OR_LATER define should be removed from HotSpot when Solaris 11 is base build OS
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 8
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris
  • CPU: generic
  • Submitted: 2011-05-03
  • Updated: 2023-12-14
  • Resolved: 2016-12-07
Related Reports
Relates :  
Description
The fix for the following bug:

    7028172 3/4 SA needs to adapt to Solaris libproc change made in 6748307

Added a new build define: SOLARIS_11_B159_OR_LATER

Support for setting the define was added to:

    make/solaris/makefiles/saproc.make

and the define is used in the following code:

    agent/src/os/solaris/proc/libproc.h
    agent/src/os/solaris/proc/salibproc.h
    agent/src/os/solaris/proc/saproc.cpp

When Solaris 11 becomes the oldest base build OS for HotSpot Express,
this define should be removed from the code base. In the current
HotSpot Express release (HSX-21):

    JDK6 uses Solaris 8 as the base build OS
    JDK7 uses Solaris 10 as the base build OS

When JDK8 spins up, I expect it to use Solaris 11 as the base
build OS, but this code likely can't be removed in JDK8 because
the same HSX code base will likely also deliver into JDK7 updates
where the base build OS will still be Solaris 10.

So it is likely that this bug can only be addressed as early as
JDK9. However, the bug database doesn't have any JDK9 values so
I've filed this bug against JDK8.

Also, in reality, this bug will be addressed in an HSX build which
will be included in some JDK9 build, but I can't even make a guess
as to the proper HSX version that far out in the future.

Comments
This is not on our list of current priorities. If this changes, please reopen this issue.
07-12-2016