< prev index next >
test/testlibrary/com/oracle/java/testlibrary/DockerRunOptions.java
Print this page
rev 9059 : 8219997: [TESTBUG] Create test for JFR events in Docker container: CPU, Memory and Process Info
Summary: Start docker with limits on CPU/Mem, verify JFR reports correct data
Reviewed-by: egahlin
*** 68,73 ****
--- 68,77 ----
public DockerRunOptions addJavaOpts(String... opts) {
Collections.addAll(javaOpts, opts);
return this;
}
+ public DockerRunOptions addClassOptions(String... opts) {
+ Collections.addAll(classParams,opts);
+ return this;
+ }
}
< prev index next >