mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8146115: Improve docker container detection and resource configuration usage
Reviewed-by: dholmes, kbarrett, phh
This commit is contained in:
parent
2f84103a78
commit
20a8de0f70
15 changed files with 899 additions and 13 deletions
|
@ -142,8 +142,16 @@ class os: AllStatic {
|
|||
static void get_summary_os_info(char* buf, size_t buflen);
|
||||
|
||||
static void initialize_initial_active_processor_count();
|
||||
|
||||
LINUX_ONLY(static void pd_init_container_support();)
|
||||
|
||||
public:
|
||||
static void init(void); // Called before command line parsing
|
||||
|
||||
static void init_container_support() { // Called during command line parsing.
|
||||
LINUX_ONLY(pd_init_container_support();)
|
||||
}
|
||||
|
||||
static void init_before_ergo(void); // Called after command line parsing
|
||||
// before VM ergonomics processing.
|
||||
static jint init_2(void); // Called after command line parsing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue