8311536: JFR TestNativeMemoryUsageEvents fails in huge pages configuration

Reviewed-by: egahlin, mseledtsov
This commit is contained in:
Markus Grönlund 2023-07-13 12:13:44 +00:00
parent bb5278d98a
commit 6895debf66

View File

@ -44,8 +44,8 @@ import jdk.test.lib.jfr.Events;
* @library /test/lib
* @modules jdk.jfr
* jdk.management
* @run main/othervm -XX:NativeMemoryTracking=summary -Xms16m -Xmx128m -Xlog:gc jdk.jfr.event.runtime.TestNativeMemoryUsageEvents true
* @run main/othervm -XX:NativeMemoryTracking=off -Xms16m -Xmx128m -Xlog:gc jdk.jfr.event.runtime.TestNativeMemoryUsageEvents false
* @run main/othervm -XX:NativeMemoryTracking=summary -Xms16m -Xmx128m -XX:-UseLargePages -Xlog:gc jdk.jfr.event.runtime.TestNativeMemoryUsageEvents true
* @run main/othervm -XX:NativeMemoryTracking=off -Xms16m -Xmx128m -XX:-UseLargePages -Xlog:gc jdk.jfr.event.runtime.TestNativeMemoryUsageEvents false
*/
public class TestNativeMemoryUsageEvents {
private final static String UsageTotalEvent = EventNames.NativeMemoryUsageTotal;