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

duke duke at openjdk.org
Mon Oct 6 11:21:48 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.

@dev-jonghoonpark 
Your change (at version 9687a4bcb092637e60e9b9c1b2c2976c5d4c965f) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/27639#issuecomment-3371116448


More information about the hotspot-jfr-dev mailing list