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

Build failure on OSX after compiler upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b64

        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.

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

                Created:
                Updated:
                Resolved: