Integrated: 8324680: Replace NULL with nullptr in JVMTI generated code
Serguei Spitsyn
sspitsyn at openjdk.org
Fri Feb 16 21:25:01 UTC 2024
On Thu, 15 Feb 2024 08:46:43 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
> This enhancement replaces uses of NULL with nullptr in the XML-description files for JVMTI. These are the files `hotsport/share/prims/jvmti.xml` and `hotspot/share/prims/jvmti*.xls`.
>
> The following files are auto-generated from the `jvmti.xml` and `*.xsl files` in the `build/<CFG>/variant-server/gensrc/jvmtifiles': `jvmti.h`, `jvmti.html`, `jvmtiEnter.cpp`, `jvmtiEnterTrace.cpp`, `jvmtiEnv.hpp`
>
> This addresses a category of NULL uses that wasn't dealt with by:
> [JDK-8299837](https://bugs.openjdk.org/browse/JDK-8299837).
>
> Testing:
> - TBD: run mach5 tiers1-3
This pull request has now been integrated.
Changeset: 267780bf
Author: Serguei Spitsyn <sspitsyn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/267780bf0adf4bfd831fbc04347e297fa8f3bb01
Stats: 110 lines in 5 files changed: 0 ins; 0 del; 110 mod
8324680: Replace NULL with nullptr in JVMTI generated code
Reviewed-by: amenkov, coleenp
-------------
PR: https://git.openjdk.org/jdk/pull/17866
More information about the hotspot-dev
mailing list