8028433: [TESTBUG] add -XX:+UsePerfData to some sun.management tests
Reviewed-by: sla, egahlin
--- a/jdk/test/sun/management/HotspotClassLoadingMBean/GetClassLoadingTime.java Mon Nov 18 15:25:15 2013 +0100
+++ b/jdk/test/sun/management/HotspotClassLoadingMBean/GetClassLoadingTime.java Mon Nov 18 16:20:40 2013 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -27,7 +27,7 @@
* @summary Basic unit test of HotspotClassLoadingMBean.getClassLoadingTime()
* @author Steve Bohne
* @build ClassToLoad0
- * @run main GetClassLoadingTime
+ * @run main/othervm -XX:+UsePerfData GetClassLoadingTime
*/
/*
--- a/jdk/test/sun/management/HotspotClassLoadingMBean/GetInitializedClassCount.java Mon Nov 18 15:25:15 2013 +0100
+++ b/jdk/test/sun/management/HotspotClassLoadingMBean/GetInitializedClassCount.java Mon Nov 18 16:20:40 2013 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
* @bug 4858522
* @summary Basic unit test of HotspotClassLoadingMBean.getInitializedClassCount()
* @author Steve Bohne
+ * @run main/othervm -XX:+UsePerfData GetInitializedClassCount
*/
/*
--- a/jdk/test/sun/management/HotspotClassLoadingMBean/GetLoadedClassSize.java Mon Nov 18 15:25:15 2013 +0100
+++ b/jdk/test/sun/management/HotspotClassLoadingMBean/GetLoadedClassSize.java Mon Nov 18 16:20:40 2013 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
* @bug 4858522
* @summary Basic unit test of HotspotClassLoadingMBean.getLoadedClassSize()
* @author Steve Bohne
+ * @run main/othervm -XX:+UsePerfData GetLoadedClassSize
*/
/*
--- a/jdk/test/sun/management/HotspotClassLoadingMBean/GetMethodDataSize.java Mon Nov 18 15:25:15 2013 +0100
+++ b/jdk/test/sun/management/HotspotClassLoadingMBean/GetMethodDataSize.java Mon Nov 18 16:20:40 2013 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
* @bug 4858522
* @summary Basic unit test of HotspotClassLoadingMBean.getMethodDataSize()
* @author Steve Bohne
+ * @run main/othervm -XX:+UsePerfData GetMethodDataSize
*/
/*
--- a/jdk/test/sun/management/HotspotClassLoadingMBean/GetUnloadedClassSize.java Mon Nov 18 15:25:15 2013 +0100
+++ b/jdk/test/sun/management/HotspotClassLoadingMBean/GetUnloadedClassSize.java Mon Nov 18 16:20:40 2013 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
* @bug 4858522
* @summary Basic unit test of HotspotClassLoadingMBean.getUnloadedClassSize()
* @author Steve Bohne
+ * @run main/othervm -XX:+UsePerfData GetUnloadedClassSize
*/
/*
--- a/jdk/test/sun/management/HotspotRuntimeMBean/GetSafepointCount.java Mon Nov 18 15:25:15 2013 +0100
+++ b/jdk/test/sun/management/HotspotRuntimeMBean/GetSafepointCount.java Mon Nov 18 16:20:40 2013 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
* @bug 4858522
* @summary Basic unit test of HotspotClassLoadingMBean.getSafepointCount()
* @author Steve Bohne
+ * @run main/othervm -XX:+UsePerfData GetSafepointCount
*/
/*