Integrated: 8365782: Remove unnecessary inclusion of <stdlib.h> in jfrOSInterface.cpp

jonghoonpark duke at openjdk.org
Tue Oct 7 15:16:49 UTC 2025


On Sun, 5 Oct 2025 17:34:16 GMT, jonghoonpark <duke at openjdk.org> wrote:

> related jira issue: https://bugs.openjdk.org/browse/JDK-8365782
> 
> ---
> 
> ### Changes
> 
> As described in the issue, I have removed the unnecessary inclusion of `stdlib.h`.
> 
> This was first discussed in [this comment](https://github.com/openjdk/jdk/pull/26800#discussion_r2278998210).
> 
> As noted in the discussion, `generate_environment_variables_events` also appears to be unimplemented, so it has been removed as well.
> 
> ---
> 
> ### Verification
> 
> - Checked that no functions from `stdlib.h` are called in the file.
> - Checked that the `generate_environment_variables_events` function is not implemented anywhere in the codebase.
> - Ran the `tier1` tests after the changes and confirmed that there were no issues.
> 
> Please let me know if there are any additional or more appropriate verification steps I should perform.

This pull request has now been integrated.

Changeset: 0f2a95c1
Author:    jonghoonpark <dev at jonghoonpark.com>
Committer: Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0f2a95c15d7c1e3796660d786c9a72497dab5ab1
Stats:     6 lines in 1 file changed: 0 ins; 5 del; 1 mod

8365782: Remove unnecessary inclusion of <stdlib.h> in jfrOSInterface.cpp

Reviewed-by: ayang, tschatzl

-------------

PR: https://git.openjdk.org/jdk/pull/27639


More information about the hotspot-jfr-dev mailing list