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

Build failure on OSX after compiler upgrade

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b64

      Backports

        Description

        After the compiler upgrade on OSX there is a new build failure in instanceRefKlass.inline.hpp:

        /hotspot/src/share/vm/oops/instanceRefKlass.inline.hpp:93:23: error: variable 'always_contains' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
        static AlwaysContains always_contains;
                              ^
        1 error generated.

        The solution is fairly simple, just move the always_contains declaration inside oop_oop_iterate_ref_processing() where it is used.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jwilhelm Jesper Wilhelmsson
                  Reporter:
                  jwilhelm Jesper Wilhelmsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: