--- old/src/hotspot/share/runtime/os.hpp 2017-10-11 14:35:00.501945029 -0400 +++ new/src/hotspot/share/runtime/os.hpp 2017-10-11 14:34:59.297876426 -0400 @@ -142,6 +142,12 @@ static void get_summary_os_info(char* buf, size_t buflen); static void initialize_initial_active_processor_count(); + +#ifdef LINUX + // Container support is currently limited to Linux + static void pd_initialize_container_support(); +#endif + public: static void init(void); // Called before command line parsing static void init_before_ergo(void); // Called after command line parsing @@ -152,6 +158,16 @@ init_globals_ext(); } +#ifdef LINUX + // Container support is currently limited to Linux + static void initialize_container_support() { + pd_initialize_container_support(); + } +#else + static void initialize_container_support() {} +#endif + + // File names are case-insensitive on windows only // Override me as needed static int file_name_strcmp(const char* s1, const char* s2);