-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
8
In several places in HotSpot, the C++ code has Undefined Behaviour. This includes null pointer dereferences and accesses to objects outside their lifetimes.
While many of these bugs are fixed are fixed in later releases, the changes are intrusive and extensive, and arguably too much for a stable (not to say vintage) project like OpenJDK 8. Therefore, in order to allow 8u to build on new versions of GCC we should use the following build-time options if they are available:
-fno-lifetime-dse -fno-delete-null-pointer-checks
While many of these bugs are fixed are fixed in later releases, the changes are intrusive and extensive, and arguably too much for a stable (not to say vintage) project like OpenJDK 8. Therefore, in order to allow 8u to build on new versions of GCC we should use the following build-time options if they are available:
-fno-lifetime-dse -fno-delete-null-pointer-checks
- duplicates
-
JDK-8233880 Support compilers with multi-digit major version numbers
-
- Resolved
-
- relates to
-
JDK-8034812 remove IDX_INIT macro hack in Node class
-
- Resolved
-
-
JDK-8151841 Build needs additional flags to compile with GCC 6
-
- Resolved
-
-
JDK-8160399 is_oop_or_null involves undefined behavior
-
- Resolved
-
-
JDK-8164984 Improper use of is_oop in production code
-
- Resolved
-