RFR: JDK-8198243: Add build time check for global operator new/delete in object files
david.holmes at oracle.com
Wed Feb 21 05:33:54 UTC 2018
This seems okay.
a) how much time it adds to the build?
b) why this doesn't work for Solaris Studio?
On 21/02/2018 4:05 AM, Erik Joelsson wrote:
> This patch adds a build time check for uses of global operators new and
> delete in hotspot C++ code. The check is only run with toolchains GCC
> and Clang (Linux and Macos builds). I have also modified the Oracle
> devkit on Linux to add the necessary symlink so that objdump will get
> picked up by configure.
> This change is depending on several fixes removing such uses that are
> currently in jdk/hs so this change will need to be pushed there as well.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8198243
> Webrev: http://cr.openjdk.java.net/~erikj/8198243/webrev.01/
More information about the build-dev