Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8077420

Build failure with SS12u4

XMLWordPrintable

    • gc
    • b64
    • x86_64
    • solaris

        When building jdk9 with Solaris Studio 12u4, the build fails in hotspot with the following error:

        "/opt/jprt/jprtadm/erik/jdk9-dev/hotspot/src/share/vm/utilities/stack.hpp", line 125: Error: The function static Stack<oopDesc*, 5>::default_segment_size() has not had a body defined.

        The failing files are:
        vmPSOperations.cpp
        cmsCollectorPolicy.cpp

        I managed to workaround the problem by just adding "#include "utilities/stack.inline.hpp" to both of these files, but I don't know if this is correct.

              stefank Stefan Karlsson
              erikj Erik Joelsson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: