< prev index next >
test/gc/shenandoah/mxbeans/TestMemoryPools.java
Print this page
rev 10788 : [backport] Move Shenandoah tests to proper locations
*** 1,7 ****
/*
! * Copyright (c) 2017 Red Hat, Inc. and/or its affiliates.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
--- 1,7 ----
/*
! * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
*** 23,38 ****
/**
* @test TestMemoryPools
* @key gc
* @summary Test JMX memory pools
! * @modules java.base/jdk.internal.misc
! * java.management
! * @run main/othervm -XX:+UseShenandoahGC -Xmx1g -Xms1g TestMemoryPools
*/
-
import java.lang.management.*;
import java.util.*;
public class TestMemoryPools {
--- 23,36 ----
/**
* @test TestMemoryPools
* @key gc
* @summary Test JMX memory pools
! *
! * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -Xmx1g -Xms1g TestMemoryPools
*/
import java.lang.management.*;
import java.util.*;
public class TestMemoryPools {
< prev index next >