Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082606 | emb-9 | Jesper Wilhelmsson | P1 | Resolved | Fixed | team |
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.
/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.
- backported by
-
JDK-8082606 Build failure on OSX after compiler upgrade
-
- Resolved
-