< prev index next >

test/com/sun/jdi/OomDebugTest.java

Print this page
rev 16783 : 8176176: fix @modules in jdk_svc tests
Reviewed-by: duke


   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 /**
  26  *  @test
  27  *  @bug 8153711
  28  *  @summary JDWP: Memory Leak (global references not deleted after invokeMethod).
  29  *
  30  *  @author Severin Gehwolf <sgehwolf@redhat.com>
  31  *
  32  *  @library ..

  33  *  @run build TestScaffold VMConnection TargetListener TargetAdapter
  34  *  @run compile -g OomDebugTest.java
  35  *  @run main OomDebugTest OomDebugTestTarget test1
  36  *  @run main OomDebugTest OomDebugTestTarget test2
  37  *  @run main OomDebugTest OomDebugTestTarget test3
  38  *  @run main OomDebugTest OomDebugTestTarget test4
  39  *  @run main OomDebugTest OomDebugTestTarget test5
  40  */
  41 import java.io.File;
  42 import java.io.FileInputStream;
  43 import java.io.FileNotFoundException;
  44 import java.io.FileOutputStream;
  45 import java.io.IOException;
  46 import java.util.ArrayList;
  47 import java.util.Arrays;
  48 import java.util.Collections;
  49 import java.util.HashSet;
  50 import java.util.List;
  51 import java.util.Properties;
  52 import java.util.Set;




   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  */
  24 
  25 /**
  26  * @test
  27  * @bug 8153711
  28  * @summary JDWP: Memory Leak (global references not deleted after invokeMethod).

  29  * @author Severin Gehwolf <sgehwolf@redhat.com>
  30  *
  31  * @library ..
  32  *
  33  * @run build TestScaffold VMConnection TargetListener TargetAdapter
  34  * @run compile -g OomDebugTest.java
  35  * @run main OomDebugTest OomDebugTestTarget test1
  36  * @run main OomDebugTest OomDebugTestTarget test2
  37  * @run main OomDebugTest OomDebugTestTarget test3
  38  * @run main OomDebugTest OomDebugTestTarget test4
  39  * @run main OomDebugTest OomDebugTestTarget test5
  40  */
  41 import java.io.File;
  42 import java.io.FileInputStream;
  43 import java.io.FileNotFoundException;
  44 import java.io.FileOutputStream;
  45 import java.io.IOException;
  46 import java.util.ArrayList;
  47 import java.util.Arrays;
  48 import java.util.Collections;
  49 import java.util.HashSet;
  50 import java.util.List;
  51 import java.util.Properties;
  52 import java.util.Set;


< prev index next >