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

Reviewed-by: ayang, tschatzl
This commit is contained in:
jonghoonpark 2025-10-07 15:13:23 +00:00 committed by Albert Mingkun Yang
parent a9c93f865b
commit 0f2a95c15d

View File

@ -32,8 +32,6 @@
#include "runtime/vm_version.hpp"
#include "utilities/ostream.hpp"
#include <stdlib.h> // for environment variables
static JfrOSInterface* _instance = nullptr;
JfrOSInterface& JfrOSInterface::instance() {
@ -81,10 +79,7 @@ class JfrOSInterface::JfrOSInterfaceImpl : public JfrCHeapObj {
// os information
int os_version(char** os_version) const;
// environment information
void generate_environment_variables_events();
// system processes information
// system processes information
int system_processes(SystemProcess** system_processes, int* no_of_sys_processes);
int network_utilization(NetworkInterface** network_interfaces);