8230305: Cgroups v2: Container awareness

Implement Cgroups v2 container awareness in hotspot

Reviewed-by: bobv, dholmes
This commit is contained in:
Severin Gehwolf 2019-11-07 17:11:59 +01:00
parent 71340f51fa
commit d462a6b5c9
10 changed files with 1425 additions and 638 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,7 @@
static bool zero_page_read_protected() { return true; }
class Linux {
friend class CgroupSubsystem;
friend class os;
friend class OSContainer;
friend class TestReserveMemorySpecial;