-
Sub-task
-
Resolution: Delivered
-
P4
-
12
Provide an environment or setup instructions to help JFR developers with this task.
E.g.: host with docker engine installed, a set of scripts to generate docker container with JDK in it.
Also, explore certain areas that may be problematic. Run simple Java program with JFR on inside a container, and generate events that provide resource info. Constrain various resources when launching a container, such as Memory, numbers of CPUs, CPU shares, etc. Verify that JFR accurately reports the resources available to the JVM in a container under test. Also, make sure certain handles are properly reported, such as PIDs (host system PID is different from PID of a process inside a container).
E.g.: host with docker engine installed, a set of scripts to generate docker container with JDK in it.
Also, explore certain areas that may be problematic. Run simple Java program with JFR on inside a container, and generate events that provide resource info. Constrain various resources when launching a container, such as Memory, numbers of CPUs, CPU shares, etc. Verify that JFR accurately reports the resources available to the JVM in a container under test. Also, make sure certain handles are properly reported, such as PIDs (host system PID is different from PID of a process inside a container).
- relates to
-
JDK-8219999 TestJFREvents container test should not use jdk.CPUInformation event for container CPU values
- Resolved
-
JDK-8219997 [TESTBUG] Create test for JFR events in Docker container: CPU, Memory and Process Info
- Resolved
-
JDK-8221710 [TESTBUG] more configurable parameters for docker testing
- Resolved
-
JDK-8221711 [TESTBUG] create more tests for JFR in container environment
- Resolved